tar
    Preparing search index...

    Function replace

    • Add the files to the end of an archive file that is not compressed. The files are the same as for create. If the archive does not exist, it is made.

      The new entries go after the last complete entry of the archive. A reader of the archive gets the old entry and then the new entry of a path that is in it two times.

      Parameters

      • options: Omit<ReplaceOptions, Aliased> & Partial<
            Pick<
                ReplaceOptions,
                "gzip"
                | "cwd"
                | "file"
                | "preservePaths"
                | "noMtime"
                | "follow",
            >,
        > & (
            { readonly C?: string | undefined; readonly f?: string | undefined; readonly z?: boolean | Record<string, unknown> | undefined; readonly P?: boolean | undefined; readonly m?: boolean | undefined; readonly 'no-mtime'?: boolean | undefined; readonly L?: boolean | undefined; readonly h?: boolean | undefined; } & ({ ......
        )
      • files: PackInput[]

      Returns Promise<void>