MCPcopy
hub / github.com/sourcegraph/checkup / pathForIndex

Function pathForIndex

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

Source from the content-addressed store, hash-verified

52}
53
54func pathForIndex(path string) string {
55 return filepath.Base(path)
56}
57
58func repositoryContent(path, serverSHAForRepo string, data interface{}) *github.RepositoryContent {
59 return &github.RepositoryContent{

Callers 1

withGitHubServerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected