- @std/archive
all symbols
Tar is a utility for collecting multiple files (or any arbitrary data) into one archive file, while untar is the inverse utility to extract the files from an archive. Files are not compressed, only collected into the archive.
Classes
Overview
- append(): Promise<void>filenameInArchive: string,source: TarOptions
Append a file or reader of arbitrary content to this tar archive. Directories appended to the archive append only the directory itself to the archive, not its contents. To add a directory and its contents, recursively append the directory's contents. Directories and subdirectories will be created automatically in the archive as required.
- data: TarDataWithSource[]No documentation available
- getReader(): Reader
Get a Reader instance for this tar archive.
Interfaces
- checksum: stringNo documentation available
- fileMode: stringNo documentation available
- fileName: stringNo documentation available
- fileNamePrefix: stringNo documentation available
- fileSize: stringNo documentation available
- gid: stringNo documentation available
- group: stringNo documentation available
- mtime: stringNo documentation available
- owner: stringNo documentation available
- type: stringNo documentation available
- uid: stringNo documentation available
- ustar: stringNo documentation available
Extend TarMeta with the linkName property so that readers can access
symbolic link values without polluting the world of archive writers.
- linkName: stringNo documentation available
- contentSize: number
Size of the content to be appended. This is only required when passing a reader to the archive.
- filePath: string
Filepath of the file to append to the archive
- reader: Reader
A Reader of any arbitrary content to append to the archive
Type Aliases
Classes
Overview
- append(): Promise<void>filenameInArchive: string,source: TarOptions
Append a file or reader of arbitrary content to this tar archive. Directories appended to the archive append only the directory itself to the archive, not its contents. To add a directory and its contents, recursively append the directory's contents. Directories and subdirectories will be created automatically in the archive as required.
- data: TarDataWithSource[]No documentation available
- getReader(): Reader
Get a Reader instance for this tar archive.
Interfaces
- checksum: stringNo documentation available
- fileMode: stringNo documentation available
- fileName: stringNo documentation available
- fileNamePrefix: stringNo documentation available
- fileSize: stringNo documentation available
- gid: stringNo documentation available
- group: stringNo documentation available
- mtime: stringNo documentation available
- owner: stringNo documentation available
- type: stringNo documentation available
- uid: stringNo documentation available
- ustar: stringNo documentation available
- contentSize: number
Size of the content to be appended. This is only required when passing a reader to the archive.
- filePath: string
Filepath of the file to append to the archive
- reader: Reader
A Reader of any arbitrary content to append to the archive
Classes
Interfaces
Extend TarMeta with the linkName property so that readers can access
symbolic link values without polluting the world of archive writers.
- linkName: stringNo documentation available