sourcegit/src/Models/RevisionFile.cs
2024-07-15 00:30:31 +08:00

30 lines
603 B
C#

using Avalonia.Media.Imaging;
namespace SourceGit.Models
{
public class RevisionBinaryFile
{
public long Size { get; set; } = 0;
}
public class RevisionImageFile
{
public Bitmap Image { get; set; } = null;
}
public class RevisionTextFile
{
public string Content { get; set; }
}
public class RevisionLFSObject
{
public LFSObject Object { get; set; }
}
public class RevisionSubmodule
{
public Commit Commit { get; set; } = null;
public string FullMessage { get; set; } = string.Empty;
}
}