MCPcopy Index your code
hub / github.com/codeaashu/claude-code / getKnownPathsForRepo

Function getKnownPathsForRepo

src/utils/githubRepoPathMapping.ts:83–87  ·  view source on GitHub ↗
(repo: string)

Source from the content-addressed store, hash-verified

81 * @returns Array of known absolute paths, or empty array if none
82 */
83export function getKnownPathsForRepo(repo: string): string[] {
84 const config = getGlobalConfig()
85 const repoKey = repo.toLowerCase()
86 return config.githubRepoPaths?.[repoKey] ?? []
87}
88
89/**
90 * Filters paths to only those that exist on the filesystem.

Callers 2

runFunction · 0.85
resolveCwdFunction · 0.85

Calls 1

getGlobalConfigFunction · 0.85

Tested by

no test coverage detected