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

Function rulesPath

src/installer/targets/cursor.ts:66–68  ·  view source on GitHub ↗

* Cursor "rules" file. Only meaningful for the project-local * location — Cursor reads `.cursor/rules/*.mdc` from the workspace * root. There is no global equivalent.

()

Source from the content-addressed store, hash-verified

64 * root. There is no global equivalent.
65 */
66function rulesPath(): string {
67 return path.join(process.cwd(), '.cursor', 'rules', 'codegraph.mdc');
68}
69
70/**
71 * Cursor `.mdc` rules use YAML-ish frontmatter. `alwaysApply: true`

Callers 2

describePathsMethod · 0.85
removeRulesEntryFunction · 0.85

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected