unzip
Variables
__CODE_SPLIT_SCRIPT_NAME
const __CODE_SPLIT_SCRIPT_NAME: string;Defined in: unzip.ts:11
Functions
default()
function default(
path,
input,
store?): Promise<boolean>Defined in: unzip.ts:42
Explode the tarball cache entries at the keys read from input into
the global store root store, if given, then rewrite the rest
un-gzipped: entries this run exploded stay gzipped.
VLT_CACHE_UNZIP=0 never un-gzips, =1 un-gzips every entry,
before exploding. Keys are \0-separated, each optionally followed
by \t and the integrity it is cached under. False on no path or
a failed explode; throws on a corrupt gzip.
Parameters
| Parameter | Type | Default value |
|---|---|---|
path | undefined | string | undefined |
input | EventEmitter | process.stdin |
store? | string | undefined |
Returns
Promise<boolean>