Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ayonli_jsext/archive.ts>Tarball#append

A JavaScript extension package for building strong and modern applications.
Latest
method Tarball.prototype.append
Re-export
import { Tarball } from "https://deno.land/x/ayonli_jsext@v0.9.72/archive.ts";

Appends a file to the archive.

Parameters

data: File

The file data, can be null if the file info represents a directory.

Parameters

data:
| string
| ArrayBuffer
| ArrayBufferView
| Blob
| ReadableStream<Uint8Array>
| null
info: Ensured<Partial<TarEntry>, "relativePath">