tar
    Preparing search index...

    Type Alias ListOptionsSync

    ListOptionsSync: ReadOptionsSync & {
        file?: string;
        fs?: TarFSSync;
        input?: TarInputSync;
        maxReadSize?: number;
        onEntry?: (entry: ReadEntrySync) => unknown;
    }

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

    Type Declaration

    • Optionalfile?: string

      The path of the archive file.

    • Optionalfs?: TarFSSync
    • Optionalinput?: TarInputSync
    • 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: ReadEntrySync) => unknown

      Called with each entry.