extract-base-iterator
Version:
Base iterator for extract iterators like tar-iterator and zip-iterator
16 lines (15 loc) • 552 B
TypeScript
import type { Mode } from 'fs';
import type { ExtractOptions, LinkAttributes, NoParamCallback } from './types.js';
export default class SymbolicLinkEntry {
mode: Mode;
mtime: number;
path: string;
linkpath: string;
basename: string;
type: string;
constructor(attributes: LinkAttributes);
create(dest: string, callback: NoParamCallback): void;
create(dest: string, options: ExtractOptions, callback: NoParamCallback): void;
create(dest: string, options?: ExtractOptions): Promise<boolean>;
destroy(): void;
}