UNPKG

tar

Version:
12 lines • 652 B
import type { WithAliases } from './dealias.js'; import type { ReplaceOptions, ReplaceOptionsSync } from './options.js'; import type { PackInput, PackInputSync } from './pack.js'; /** * 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. */ export declare const update: (opt: WithAliases<ReplaceOptions>, files: PackInput[]) => Promise<void>; /** The sync form of `update`. */ export declare const updateSync: (opt: WithAliases<ReplaceOptionsSync>, files: PackInputSync[]) => void; //# sourceMappingURL=update.d.ts.map