2020-04-05 21:15:01 +00:00
|
|
|
|
using System.Collections.Generic;
|
2020-03-22 15:50:53 +00:00
|
|
|
|
using Wabbajack.Common;
|
2020-01-08 04:41:50 +00:00
|
|
|
|
|
|
|
|
|
namespace Wabbajack.BuildServer.Models
|
|
|
|
|
{
|
|
|
|
|
public class IndexedFile
|
|
|
|
|
{
|
2020-03-22 15:50:53 +00:00
|
|
|
|
public Hash Hash { get; set; }
|
2020-01-08 04:41:50 +00:00
|
|
|
|
public string SHA256 { get; set; }
|
|
|
|
|
public string SHA1 { get; set; }
|
|
|
|
|
public string MD5 { get; set; }
|
|
|
|
|
public string CRC { get; set; }
|
|
|
|
|
public long Size { get; set; }
|
|
|
|
|
public bool IsArchive { get; set; }
|
|
|
|
|
public List<ChildFile> Children { get; set; } = new List<ChildFile>();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class ChildFile
|
|
|
|
|
{
|
|
|
|
|
public string Name;
|
|
|
|
|
public string Extension;
|
2020-03-22 15:50:53 +00:00
|
|
|
|
public Hash Hash;
|
2020-01-08 04:41:50 +00:00
|
|
|
|
}
|
|
|
|
|
}
|