MCPcopy Create free account
hub / github.com/PatrickJS/awesome-cursorrules / relativeToRoot

Function relativeToRoot

scripts/check-repo-hygiene.mjs:190–192  ·  view source on GitHub ↗
(filePath)

Source from the content-addressed store, hash-verified

188}
189
190function relativeToRoot(filePath) {
191 return normalize(filePath).slice(normalize(root).length + 1);
192}
193
194function checkReadme() {
195 const readmePath = join(root, "README.md");

Callers 1

walkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected