public async Task <string> MergeAndDecompress(IEnumerable <string> orderedPartsPaths, string outputDir) { var contnt = await SevenZipper2.DecompressFromSplit (orderedPartsPaths, outputDir); if (contnt.Count() < 1) { throw Fault.NoItems("archive contents"); } if (contnt.Count() > 1) { throw Fault.NonSolo("archive contents", contnt.Count()); } return(contnt.Single()); }
public Task <IEnumerable <string> > CompressAndSplit (string filePath, double maxPartSizeMB) => SevenZipper2.CompressAndSplit(filePath, maxPartSizeMB);