tar
    Preparing search index...

    Type Alias ParserOptions<E>

    ParserOptions: WarnOptions & {
        filter?: (path: string, entry: E) => boolean;
        maxMetaEntrySize?: number;
        platform?: "win32" | "posix";
    }

    The options of a Parser.

    Type Parameters

    Type Declaration

    • Optionalfilter?: (path: string, entry: E) => boolean

      Called with each entry that is an object of the file system. If it returns false, the entry is ignored.

    • OptionalmaxMetaEntrySize?: number

      The largest PAX or GNU long name entry to read, in bytes. A larger one is skipped. Default 1 MiB.

    • Optionalplatform?: "win32" | "posix"

      With 'win32', each \ in a path is changed to /.