Skip to main content

@std/archive@0.215.0

latest
Works with
It is unknown whether this package works with Browsers, Deno, Node.js, Cloudflare Workers, Bun
It is unknown whether this package works with Browsers
It is unknown whether this package works with Deno
It is unknown whether this package works with Node.js
It is unknown whether this package works with Cloudflare Workers
It is unknown whether this package works with Bun
JSR Score47%
Published2 years ago (0.215.0)
method Tar.prototype.append
Tar.prototype.append(
filenameInArchive: string,
source: TarOptions
): Promise<void>

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.

Parameters

filenameInArchive: string

file name of the content in the archive e.g., test.txt; use slash for directory separators

details of the source of the content including the reference to the content itself and potentially any related metadata.

Return Type

Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@std/archive

Import symbol

import { Tar } from "@std/archive";
or

Import directly with a jsr specifier

import { Tar } from "jsr:@std/archive";