feat: pathing

This commit is contained in:
tresabhi committed 2025-01-23 21:43:54 -06:00
1 parent 8e4f4c39bb
commit 82af101f9c
5 files changed
+60 -16

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
namespace CLI.Models
{
public class Arguments
{
public string[] raw;
public bool sanitize;
public Arguments(string[] args)
{
raw = args;
sanitize = args.Contains("--sanitize");
if (args.Length < 1)
{
throw new ArgumentException("No arguments provided");
}
}
}
}
+2 -2
View File
@@ -1,6 +1,6 @@
namespace CLI.Models
{
public class PakFile
public class LocalManifestPakFile
{
public long FileSize { get; set; }
public required string FileHash { get; set; }
@@ -8,6 +8,6 @@ namespace CLI.Models
public class LocalManifest
{
public required Dictionary<string, PakFile> PakFiles { get; set; }
public required Dictionary<string, LocalManifestPakFile> PakFiles { get; set; }
}
}