MCPcopy Index your code
hub / github.com/code-forge-io/react-router-devtools / hasLocalRef

Function hasLocalRef

docs/scripts/generate-docs.ts:68–70  ·  view source on GitHub ↗
(ref: string)

Source from the content-addressed store, hash-verified

66
67
68function hasLocalRef(ref: string) {
69 try { run(`git show-ref --verify --quiet ${ref}`); return true; } catch { return false; }
70}
71
72const REPO_ROOT = run("git rev-parse --show-toplevel", { cwd: currentDocsWorkspace });
73

Callers 1

buildBranchFunction · 0.85

Calls 1

runFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…