Convenience option for building tarball data
this
for operation chaining
the file name, e.g. './relative/path/to/your/file.bin'
the content of the file (shocker!)
custom options for this entry
Convenience option for building tarball data
this
for operation chaining
the directory name, e.g. './relative/path/to/your/dir'
custom options for this entry
Convenience for appending a new entry to the existing entries
array
this
for operation chaining
Convenience for appending a new entry to the existing entries
array.
Uses TarEntry.from()
on the given parameters to create the entry.
this
for operation chaining
Optional
content: Uint8ArrayConvenience option for building tarball data
this
for operation chaining
the file name, e.g. './relative/path/to/your/file.txt'
the content of the file (shocker!)
Optional
headerOptions: Partial<UstarHeaderLike>custom options for this entry
Convenience option for cleaning the header of each listed entry.
See also TarHeader.clean()
.
Removes any entries from this writer's cache that meet the given predicate condition.
this
for operation chaining
delegate that will return true for any entry that should be removed.
Static
serializeGenerated using TypeDoc
Generic utility for building a tar octet stream by adding JSON-style entries. See the
add***()
options in this class definition for details.