tgzUtils
Index
Interfaces
ConvertToZipOptions
optionalcompressionLevel
optionalconfiguration
optionalprefixPath
optionalstripComponents
optionaltaskPool
ExtractBufferOptions
optionalprefixPath
optionalstripComponents
MakeArchiveFromDirectoryOptions
optionalbaseFs
optionalcompressionLevel
optionalinMemory
optionalprefixPath
Type Aliases
ConvertToZipPayload
Type declaration
compressionLevel: ZipCompression
extractBufferOpts: ExtractBufferOptions
tgz: Buffer | Uint8Array
tmpFile: PortablePath
ZipWorkerPool
Functions
convertToZip
Parameters
tgz: Buffer
opts: ConvertToZipOptions = {}
Returns Promise<ZipFS>
convertToZipWorker
Parameters
data: ConvertToZipPayload
Returns Promise<PortablePath>
extractArchiveTo
Type parameters
- T: FakeFS<PortablePath>
Parameters
tgz: Buffer
targetFs: T
__namedParameters: ExtractBufferOptions = {}
Returns Promise<T>
getDefaultTaskPool
Returns ZipWorkerPool
getTaskPoolForConfiguration
Parameters
configuration: void | Configuration
Returns ZipWorkerPool
makeArchiveFromDirectory
Parameters
source: PortablePath
__namedParameters: MakeArchiveFromDirectoryOptions = {}
Returns Promise<ZipFS>