Skip to main content

tgzUtils

Index

Interfaces

ConvertToZipOptions

ConvertToZipOptions:

optionalcompressionLevel

compressionLevel?: ZipCompression

optionalconfiguration

configuration?: Configuration

optionalprefixPath

prefixPath?: PortablePath

optionalstripComponents

stripComponents?: number

optionaltaskPool

taskPool?: ZipWorkerPool

ExtractBufferOptions

ExtractBufferOptions:

optionalprefixPath

prefixPath?: PortablePath

optionalstripComponents

stripComponents?: number

MakeArchiveFromDirectoryOptions

MakeArchiveFromDirectoryOptions:

optionalbaseFs

optionalcompressionLevel

compressionLevel?: ZipCompression

optionalinMemory

inMemory?: boolean

optionalprefixPath

prefixPath?: null | PortablePath

Type Aliases

ConvertToZipPayload

ConvertToZipPayload: { compressionLevel: ZipCompression; extractBufferOpts: ExtractBufferOptions; tgz: Buffer | Uint8Array; tmpFile: PortablePath }

Type declaration

ZipWorkerPool

ZipWorkerPool: TaskPool<ConvertToZipPayload, PortablePath>

Functions

convertToZip

convertToZipWorker

extractArchiveTo

getDefaultTaskPool

getTaskPoolForConfiguration

makeArchiveFromDirectory