2020-01-09 22:56:29 +00:00
|
|
|
|
using System.Collections.Generic;
|
2020-03-22 15:50:53 +00:00
|
|
|
|
using Wabbajack.Common;
|
2020-05-12 21:28:09 +00:00
|
|
|
|
using Wabbajack.Common.Serialization.Json;
|
2020-01-09 22:56:29 +00:00
|
|
|
|
|
2020-01-10 04:47:06 +00:00
|
|
|
|
namespace Wabbajack.VirtualFileSystem
|
2020-01-09 22:56:29 +00:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Response from the Build server for a indexed file
|
|
|
|
|
/// </summary>
|
2020-05-12 21:28:09 +00:00
|
|
|
|
[JsonName("IndexedVirtualFile")]
|
2020-01-09 22:56:29 +00:00
|
|
|
|
public class IndexedVirtualFile
|
|
|
|
|
{
|
2020-03-24 12:21:19 +00:00
|
|
|
|
public IPath Name { get; set; }
|
2020-03-22 15:50:53 +00:00
|
|
|
|
public Hash Hash { get; set; }
|
2020-01-09 22:56:29 +00:00
|
|
|
|
public long Size { get; set; }
|
|
|
|
|
public List<IndexedVirtualFile> Children { get; set; } = new List<IndexedVirtualFile>();
|
|
|
|
|
}
|
|
|
|
|
}
|