using System; using System.Collections.Generic; using System.IO; namespace SabreTools.FileTypes.Archives { /// /// Represents a ZstdArchive archive for reading and writing /// /// TODO: Implement from source at https://github.com/skbkontur/ZstdNet public class ZstdArchive : BaseArchive { #region Constructors /// /// Create a new ZstdArchive with no base file /// public ZstdArchive() : base() { this.Type = FileType.ZstdArchive; } /// /// Create a new ZstdArchive from the given file /// /// Name of the file to use as an archive /// True if hashes for this file should be calculated, false otherwise (default) public ZstdArchive(string filename, bool getHashes) : base(filename, getHashes) { this.Type = FileType.ZstdArchive; } #endregion #region Extraction /// public override bool CopyAll(string outDir) { throw new NotImplementedException(); } /// public override string CopyToFile(string entryName, string outDir) { throw new NotImplementedException(); } /// public override (Stream?, string?) GetEntryStream(string entryName) { throw new NotImplementedException(); } #endregion #region Information /// public override List GetChildren() { throw new NotImplementedException(); } /// public override List GetEmptyFolders() { throw new NotImplementedException(); } /// public override bool IsTorrent() { throw new NotImplementedException(); } #endregion #region Writing /// public override bool Write(string inputFile, string outDir, BaseFile? baseFile) { throw new NotImplementedException(); } /// public override bool Write(Stream? inputStream, string outDir, BaseFile? baseFile) { throw new NotImplementedException(); } /// public override bool Write(List inputFiles, string outDir, List? baseFiles) { throw new NotImplementedException(); } #endregion } }