tar
    Preparing search index...

    Function update

    • The same as replace, but a file is added only if it is newer than the last entry of the archive that has its path. A directory is always added, and each path in it is checked.

      Parameters

      • opt: Omit<ReplaceOptions, Aliased> & Partial<
            Pick<
                ReplaceOptions,
                "gzip"
                | "cwd"
                | "file"
                | "preservePaths"
                | "noMtime"
                | "follow",
            >,
        > & (
            { readonly C?: string | undefined; readonly f?: string | undefined; readonly z?: boolean | ZlibOptions | 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>