generateTar
Function: generateTar()
generateTar(
entries,options?):AsyncGenerator<Buffer<ArrayBufferLike>>
Defined in: packages/oci/src/tar.ts:186
Generate a reproducible tar archive
Every entry gets the same owner and modification time, names longer than the ustar limit use a PAX extended header. Entries are written in the given order.
Parameters
entries
TarEntry[]
the entries, see withDirectories
options?
TarOptions = {}
shared options
Returns
AsyncGenerator<Buffer<ArrayBufferLike>>
Yields
the archive chunks