tar
    Preparing search index...

    Type Alias ReplaceOptionsSync

    ReplaceOptionsSync: CreateOptionsSync & {
        file: string;
        fs: ReplaceFSSync;
        mtimeCache?: Map<string, Date>;
    }

    The options of replaceSync and updateSync.

    Type Declaration

    • file: string

      The path of the archive file. It is made if it does not exist.

    • fs: ReplaceFSSync
    • OptionalmtimeCache?: Map<string, Date>

      Gets the path and the mtime of each entry that the archive has. updateSync adds a path only if it is newer than the mtime here.