2024-03-27 06:38:38 -07:00
|
|
|
|
using Avalonia.Media.Imaging;
|
|
|
|
|
|
|
|
|
|
namespace SourceGit.Models
|
2024-03-17 18:37:06 -07:00
|
|
|
|
{
|
|
|
|
|
public class RevisionBinaryFile
|
|
|
|
|
{
|
2024-03-13 20:59:56 -07:00
|
|
|
|
public long Size { get; set; } = 0;
|
2024-02-05 23:08:37 -08:00
|
|
|
|
}
|
|
|
|
|
|
2024-03-27 06:38:38 -07:00
|
|
|
|
public class RevisionImageFile
|
|
|
|
|
{
|
|
|
|
|
public Bitmap Image { get; set; } = null;
|
|
|
|
|
}
|
|
|
|
|
|
2024-03-17 18:37:06 -07:00
|
|
|
|
public class RevisionTextFile
|
|
|
|
|
{
|
2024-02-05 23:08:37 -08:00
|
|
|
|
public string FileName { get; set; }
|
|
|
|
|
public string Content { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
2024-03-17 18:37:06 -07:00
|
|
|
|
public class RevisionLFSObject
|
|
|
|
|
{
|
2024-02-05 23:08:37 -08:00
|
|
|
|
public LFSObject Object { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
2024-03-17 18:37:06 -07:00
|
|
|
|
public class RevisionSubmodule
|
|
|
|
|
{
|
2024-02-05 23:08:37 -08:00
|
|
|
|
public string SHA { get; set; }
|
|
|
|
|
}
|
2024-03-31 01:54:29 -07:00
|
|
|
|
}
|