tar
    Preparing search index...

    Function delete

    • Remove entries from an archive file: each entry that files lists, and each entry in a directory that it lists. With opt.filter, only if the filter also returns true.

      Parameters

      • opt: Omit<
            Omit<DeleteOptions, "cwd" | "fs"> & Partial<Pick<DeleteOptions, "fs">>,
            Aliased,
        > & Partial<
            Pick<
                Omit<DeleteOptions, "cwd" | "fs"> & Partial<Pick<DeleteOptions, "fs">>,
                "file",
            >,
        > & (
            { readonly f?: string | undefined; } & ({ file: string; } | { f: string; })
        )
      • Optionalfiles: string[]

      Returns Promise<void>