Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

std/archive/tar.ts>Tar

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
class Tar
import { Tar } from "https://deno.land/std@0.94.0/archive/tar.ts";

A class to create a tar archive

Constructors

new
Tar()

Properties

data: TarDataWithSource[]

Methods

append(fn: string, opts: TarOptions)

Append a file to this tar archive

getReader(): Reader

Get a Reader instance for this tar data