Interface TarStreamDirExperimental

The interface required to provide a directory.

UNSTABLE: New API, yet to be vetted.

interface TarStreamDir {
    options?: TarStreamOptions;
    path: string;
    type: "directory";
}

Properties

Properties

The metadata of the directory.

path: string

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

type

The type of the input.