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

Function rulesPath

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

Source from the content-addressed store, hash-verified

4316 const dirs = useTmpDirs('grok');
4317 const tomlPath = () => path.join(dirs.home(), '.grok', 'config.toml');
4318 const rulesPath = () => path.join(dirs.home(), '.grok', 'rules', 'codegraph.md');
4319 const seed = (content: string) => {
4320 fs.mkdirSync(path.dirname(tomlPath()), { recursive: true });
4321 fs.writeFileSync(tomlPath(), content);

Callers 1

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected