mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-26 11:51:17 +08:00
* tooltip for swap button * move `Views.CompareTargetWorktree` to `Models.CompareTargetWorktree` * remove unused `Models.IObjectId` * fix swap not working when target is Worktree, because Commands.CompareRevisions's Args do not changed after swapping
19 lines
307 B
C#
19 lines
307 B
C#
namespace SourceGit.Models
|
|
{
|
|
public enum ObjectType
|
|
{
|
|
None,
|
|
Blob,
|
|
Tree,
|
|
Tag,
|
|
Commit,
|
|
}
|
|
|
|
public class Object
|
|
{
|
|
public string SHA { get; set; }
|
|
public ObjectType Type { get; set; }
|
|
public string Path { get; set; }
|
|
}
|
|
}
|