MCPcopy Index your code
hub / github.com/CodeGraphContext/CodeGraphContext / normalizeRepoKey

Function normalizeRepoKey

website/api/lib/security.js:127–129  ·  view source on GitHub ↗
(owner, repo)

Source from the content-addressed store, hash-verified

125}
126
127function normalizeRepoKey(owner, repo) {
128 return `${String(owner || "").toLowerCase()}/${String(repo || "").toLowerCase()}`;
129}
130
131function isAllowedOrigin(originHeader) {
132 const allowListRaw = process.env.BUNDLE_TRIGGER_ALLOWED_ORIGINS;

Callers 1

handlerFunction · 0.90

Calls 1

StringInterface · 0.85

Tested by

no test coverage detected