MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / external

Function external

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

Source from the content-addressed store, hash-verified

1246 const externalDirs: string[] = [];
1247 const watchers: FileWatcher[] = [];
1248 const external = () => {
1249 const dir = fs.mkdtempSync(path.join(os.tmpdir(), 'codegraph-linked-'));
1250 externalDirs.push(dir);
1251 return dir;
1252 };
1253 // Junctions exercise Windows directory links without requiring symlink privileges.
1254 const link = (target: string, name: string) =>
1255 fs.symlinkSync(target, name, process.platform === 'win32' ? 'junction' : 'dir');

Callers 1

watcher.test.tsFile · 0.85

Calls 2

pushMethod · 0.80
joinMethod · 0.45

Tested by

no test coverage detected