fast-extract
Version:
Extract contents from various archive types (tar, tar.bz2, tar.gz, tar.xz, tgz, zip)
9 lines (8 loc) • 414 B
TypeScript
import type { TransformCallback, TransformOptions, Transform as TransformT } from 'stream';
import { Transform } from '../../compat/stream.ts';
export default class DestinationRemove extends Transform {
private dest;
private removed;
constructor(dest: string, options?: TransformOptions<TransformT>);
_transform(chunk: unknown, _encoding: BufferEncoding, callback: TransformCallback): undefined;
}