TarStreamFile

import { TarStreamFile } from "jsr:@ende/tar";

interface ยท experimental

interface TarStreamFile

The interface required to provide a file.

Properties

type

type: "file"

The type of the input.

path

path: string

The path to the file, relative to the archive's root directory.

size

size: number

The size of the file in bytes.

readable

readable: ReadableStream<Uint8Array>

The contents of the file.

options

options?: TarStreamOptions

The metadata of the file.

Source