MCPcopy
hub / github.com/PatrickJS/awesome-cursorrules / githubRawPrefix

Function githubRawPrefix

scripts/repo-config.mjs:11–13  ·  view source on GitHub ↗
(repository = DEFAULT_REPOSITORY, branch = DEFAULT_BRANCH)

Source from the content-addressed store, hash-verified

9}
10
11export function githubRawPrefix(repository = DEFAULT_REPOSITORY, branch = DEFAULT_BRANCH) {
12 return `${RAW_GITHUB_ORIGIN}/${repository}/${branch}/`;
13}
14
15export function githubRulesPrefix(repository = DEFAULT_REPOSITORY, branch = DEFAULT_BRANCH) {
16 return `${githubBlobPrefix(repository, branch)}rules/`;

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected