MCPcopy Index your code
hub / github.com/sourcegraph/checkup / pathForGitRepo

Function pathForGitRepo

storage/github/github_test.go:50–52  ·  view source on GitHub ↗
(path string)

Source from the content-addressed store, hash-verified

48}
49
50func pathForGitRepo(path string) string {
51 return strings.TrimPrefix(path, "/")
52}
53
54func pathForIndex(path string) string {
55 return filepath.Base(path)

Callers 1

withGitHubServerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected