tar
    Preparing search index...

    Type Alias ListOptions

    ListOptions: ReadOptions & {
        file?: string;
        fs?: TarFS;
        input?: TarInput;
        maxReadSize?: number;
        onEntry?: (entry: ReadEntry) => unknown;
    }

    The options of list. Set input, or file and fs.

    Type Declaration

    • Optionalfile?: string

      The path of the archive file.

    • Optionalfs?: TarFS
    • Optionalinput?: TarInput
    • OptionalmaxReadSize?: number

      The most bytes to read from the file at one time. Default, and with 0, 16 MiB. A positive integer, or Infinity.

    • OptionalonEntry?: (entry: ReadEntry) => unknown

      Called with each entry. A promise is awaited before the next entry.