MCPcopy Index your code
hub / github.com/prettier/prettier / clean

Function clean

tests/integration/__tests__/cache.js:33–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31`;
32
33 const clean = async () => {
34 await fs.rm(path.join(dir, directoryNameAsCacheFile), {
35 force: true,
36 recursive: true,
37 });
38 await fs.rm(nonDefaultCacheFilePath, { force: true });
39 await fs.rm(path.join(dir, "a.js"), { force: true });
40 await fs.rm(path.join(dir, "b.js"), { force: true });
41 };
42
43 beforeAll(async () => {
44 await clean();

Callers 1

cache.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…