fast-extract
Version:
Extract contents from various archive types (tar, tar.bz2, tar.gz, tar.xz, tgz, zip)
18 lines (17 loc) • 617 B
JavaScript
export default function create7zPipeline(_dest, _streams, _options) {
throw new Error('7z not supported');
// const isPath = typeof options.source === 'string';
// streams = streams.slice();
// if (isPath) {
// if (streams.length) {
// streams.unshift(new PathToData());
// streams.push(new WriteFileTransform(dest, options));
// }
// } else {
// streams.push(new WriteFileTransform(dest, options));
// }
// streams.push(new SevenZTransform());
// !options.progress || streams.push(new EntryProgressTransform(options));
// streams.push(createWriteEntriesStream(dest, options));
// return streams;
}