public AddCommand(InvocationContext context, string archive, List <string> input, string relativeTo, ArcFileFormat format, CompressionLevel compressionLevel, bool safeWrite, bool preserveCase, int?headerAreaSize = null, int?chunkSize = null) : base(context, archive, input, relativeTo, format, compressionLevel, safeWrite, preserveCase, headerAreaSize, chunkSize) { }
public RebuildCommand(InvocationContext context, string archive, ArcFileFormat format, CompressionLevel compressionLevel, bool preserveStore, bool safeWrite, int?headerAreaSize = null, int?chunkSize = null) : base(context) { ArchivePath = archive; Format = format; CompressionLevel = compressionLevel; PreserveStore = preserveStore; SafeWrite = safeWrite; HeaderAreaSize = headerAreaSize; ChunkSize = chunkSize; }
protected ProcessFileSystemEntriesCommand(InvocationContext context, string archive, List <string> input, string relativeTo, ArcFileFormat format, CompressionLevel compressionLevel, bool safeWrite, bool preserveCase, int?headerAreaSize = null, int?chunkSize = null) : base(context) { ArchivePath = archive; InputPaths = input; RelativeToPath = relativeTo; Format = format; CompressionLevel = compressionLevel; SafeWrite = safeWrite; PreserveCase = preserveCase; HeaderAreaSize = headerAreaSize; ChunkSize = chunkSize; }
private static string FormatTag(ArcFileFormat format) => format.Version switch { 1 => "tq", 3 => "gd",