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

Function rulesPath

__tests__/installer-targets.test.ts:4487–4487  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4485 const dirs = useTmpDirs('grok');
4486 const tomlPath = () => path.join(dirs.home(), '.grok', 'config.toml');
4487 const rulesPath = () => path.join(dirs.home(), '.grok', 'rules', 'codegraph.md');
4488 const seed = (content: string) => {
4489 fs.mkdirSync(path.dirname(tomlPath()), { recursive: true });
4490 fs.writeFileSync(tomlPath(), content);

Callers 1

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected