formacao
This commit is contained in:
+8
-4
@@ -7,6 +7,7 @@ export declare class PackJob {
|
||||
stat?: Stats;
|
||||
readdir?: string[];
|
||||
pending: boolean;
|
||||
pendingLink: boolean;
|
||||
ignore: boolean;
|
||||
piped: boolean;
|
||||
constructor(path: string, absolute: string);
|
||||
@@ -14,11 +15,13 @@ export declare class PackJob {
|
||||
import { Minipass } from 'minipass';
|
||||
import * as zlib from 'minizlib';
|
||||
import { Yallist } from 'yallist';
|
||||
import { ReadEntry } from './read-entry.js';
|
||||
import { WarnEvent, type WarnData, type Warner } from './warn-method.js';
|
||||
import type { ReadEntry } from './read-entry.js';
|
||||
import type { WarnEvent } from './warn-method.js';
|
||||
import { type WarnData, type Warner } from './warn-method.js';
|
||||
declare const ONSTAT: unique symbol;
|
||||
declare const ENDED: unique symbol;
|
||||
declare const QUEUE: unique symbol;
|
||||
declare const PENDINGLINKS: unique symbol;
|
||||
declare const CURRENT: unique symbol;
|
||||
declare const PROCESS: unique symbol;
|
||||
declare const PROCESSING: unique symbol;
|
||||
@@ -36,7 +39,7 @@ declare const ENTRYOPT: unique symbol;
|
||||
declare const WRITEENTRYCLASS: unique symbol;
|
||||
declare const WRITE: unique symbol;
|
||||
declare const ONDRAIN: unique symbol;
|
||||
import { TarOptions } from './options.js';
|
||||
import type { TarOptions } from './options.js';
|
||||
export declare class Pack extends Minipass<Buffer, ReadEntry | string, WarnEvent<Buffer>> implements Warner {
|
||||
sync: boolean;
|
||||
opt: TarOptions;
|
||||
@@ -61,6 +64,7 @@ export declare class Pack extends Minipass<Buffer, ReadEntry | string, WarnEvent
|
||||
[WRITEENTRYCLASS]: typeof WriteEntry | typeof WriteEntrySync;
|
||||
onWriteEntry?: (entry: WriteEntry) => void;
|
||||
[QUEUE]: Yallist<PackJob>;
|
||||
[PENDINGLINKS]: Map<`${number}:${number}`, PackJob[]>;
|
||||
[JOBS]: number;
|
||||
[PROCESSING]: boolean;
|
||||
[ENDED]: boolean;
|
||||
@@ -79,7 +83,7 @@ export declare class Pack extends Minipass<Buffer, ReadEntry | string, WarnEvent
|
||||
[ONREADDIR](job: PackJob, entries: string[]): void;
|
||||
[PROCESS](): void;
|
||||
get [CURRENT](): PackJob | undefined;
|
||||
[JOBDONE](_job: PackJob): void;
|
||||
[JOBDONE](job: PackJob): void;
|
||||
[PROCESSJOB](job: PackJob): void;
|
||||
[ENTRYOPT](job: PackJob): TarOptions;
|
||||
[ENTRY](job: PackJob): WriteEntry | undefined;
|
||||
|
||||
Reference in New Issue
Block a user