sourcegit/src/Models/RevisionFile.cs

31 lines
603 B
C#
Raw Normal View History

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