MCPcopy Create free account
hub / github.com/delinoio/oss / write

Function write

scripts/ci/async-commit-hook-order.test.mjs:65–69  ·  view source on GitHub ↗
(path, content)

Source from the content-addressed store, hash-verified

63 await rm(cwd, { recursive: true, force: true });
64 });
65 const write = async (path, content) => {
66 const destination = join(cwd, path);
67 await mkdir(dirname(destination), { recursive: true });
68 await writeFile(destination, content);
69 };
70 const copy = async (path) => write(path, await readFile(join(root, path)));
71 for (const path of [
72 "turbo.json",

Callers 2

copyFunction · 0.70

Calls 1

joinFunction · 0.50

Tested by

no test coverage detected