c260ebd566
Scan directories sequentially to reduce memory footprint Reviewed-on: #3 Co-authored-by: Huy Nguyen <ecenshu@gmail.com> Co-committed-by: Huy Nguyen <ecenshu@gmail.com>
13 lines
466 B
C#
13 lines
466 B
C#
using TinfoilVibeServer.Services;
|
||
|
||
namespace TinfoilVibeServer.Models;
|
||
|
||
/// <summary>
|
||
/// One line in the snapshot – the JSON will be an array of these.
|
||
/// </summary>
|
||
public sealed record FileEntry(
|
||
string Path, // nsp or archive path
|
||
long Size, // size of nsp or full archive
|
||
string? Hash, // SHA‑256 hex of first NCA of first NCP in NSP or archive
|
||
List<NcaMetadataWithHash> Titles // Details of all NSP Roms in the Path
|
||
); |