Skip to main content
Module

std/archive/mod.ts>Tar

Deno standard library
Go to Latest
class Tar
import { Tar } from "https://deno.land/std@0.36.0/archive/mod.ts";

A class to create a tar archive

Constructors

new
Tar(recordsPerBlock?: number)

Properties

private
blockSize: number
data: TarDataWithSource[]
out: Uint8Array
written: number

Methods

append(fn: string, opts: TarOptions): Promise<void>

Append a file to this tar archive

Get a Reader instance for this tar data