TarStreamFile
import { TarStreamFile } from "jsr:@ende/tar";interface ยท experimental
interface TarStreamFileThe interface required to provide a file.
Properties
type
type: "file"The type of the input.
path
path: stringThe path to the file, relative to the archive's root directory.
size
size: numberThe size of the file in bytes.
readable
readable: ReadableStream<Uint8Array>The contents of the file.
options
options?: TarStreamOptionsThe metadata of the file.