Interface TarStreamEntryExperimental

The structure of an entry extracted from a Tar archive.

UNSTABLE: New API, yet to be vetted.

interface TarStreamEntry {
    header: OldStyleFormat | PosixUstarFormat;
    path: string;
    readable?: ReadableStream<Uint8Array>;
}

Properties

Properties

The header information attributed to the entry, presented in one of two valid forms.

path: string

The path of the entry as stated in the archive.

readable?: ReadableStream<Uint8Array>

The content of the entry, if the entry is a file.