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

Function link

__tests__/watcher.test.ts:1254–1255  ·  view source on GitHub ↗
(target: string, name: string)

Source from the content-addressed store, hash-verified

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');
1256 const has = (name: string) => cg!.getNodesByName(name).length > 0;
1257 const start = async () => {
1258 cg = initGraph(testDir, { config: { include: ['**/*.ts'], exclude: [] } });

Callers 1

watcher.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected