MCPcopy
hub / github.com/colbymchenry/codegraph / mkEmptyDir

Function mkEmptyDir

__tests__/watcher.test.ts:123–123  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

121 // OWN EMPTY temp dir so exactly one watch is installed and the close-count
122 // is deterministic across platforms.
123 const mkEmptyDir = () => fs.mkdtempSync(path.join(os.tmpdir(), 'codegraph-exhaust-'));
124
125 it('fails to start and degrades when fs.watch setup exhausts watch resources', () => {
126 const dir = mkEmptyDir();

Callers 1

watcher.test.tsFile · 0.85

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected