Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
54
func
pathForIndex(path string) string {
55
return
filepath.Base(path)
56
}
57
58
func
repositoryContent(path, serverSHAForRepo string, data
interface
{}) *github.RepositoryContent {
59
return
&github.RepositoryContent{
Callers
1
withGitHubServer
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected