using System; using System.Collections.Generic; using System.IO; namespace SabreTools.FileTypes.Archives { /// /// Represents a TorrentLRZip archive for reading and writing /// /// TODO: Implement from source at https://github.com/ckolivas/lrzip public class LRZipArchive : BaseArchive { #region Constructors /// /// Create a new LRZipArchive with no base file /// public LRZipArchive() : base() { this.Type = FileType.LRZipArchive; } /// /// Create a new LRZipArchive 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 LRZipArchive(string filename, bool getHashes = false) : base(filename, getHashes) { this.Type = FileType.LRZipArchive; } #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 (MemoryStream, string) CopyToStream(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 } }