MCPcopy Index your code
hub / github.com/darkreader/darkreader / archiveDirectory

Function archiveDirectory

tasks/zip.js:33–36  ·  view source on GitHub ↗
({dir, dest, date, mode})

Source from the content-addressed store, hash-verified

31}
32
33async function archiveDirectory({dir, dest, date, mode}) {
34 const files = await getPaths(`${dir}/**/*.*`);
35 await archiveFiles({files, dest, cwd: dir, date, mode});
36}
37
38/**
39 * Reproducible builds: set file timestamp to last commit timestamp

Callers 1

zipFunction · 0.85

Calls 2

getPathsFunction · 0.90
archiveFilesFunction · 0.85

Tested by

no test coverage detected