sourcegit/src/Models/Object.cs
leo 1583b08892
code_review: PR (#280)
* 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
2024-07-23 19:26:04 +08:00

18 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; }
}
}