tar
    Preparing search index...

    Type Alias DeleteOptionsSync

    DeleteOptionsSync: Omit<ReadOptionsSync, "filter"> & {
        file: string;
        filter?: (path: string, entry: ReadEntrySync) => boolean;
        fs: DeleteFSSync;
        maxReadSize?: number;
    }

    The options of deleteSync.

    Type Declaration

    • file: string

      The path of the archive file.

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

      Return true to remove the entry. With a list of paths, an entry is removed only if the list also has it.

    • fs: DeleteFSSync
    • OptionalmaxReadSize?: number

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