Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cli/cli
/ fileURL
Method
fileURL
git/client_test.go:1608–1610 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1606
}
1607
1608
func
(r *testRepo) fileURL() string {
1609
return
fileURL(r.dir)
1610
}
1611
1612
func
fileURL(filePath string) string {
1613
urlPath := filepath.ToSlash(filePath)
Callers
13
TestClientUpdateRemoteURLUpdatesConfiguredRemote
Function · 0.80
TestClientUpdateRemoteURLReportsMissingRemote
Function · 0.80
TestClientSetRemoteBranchesLimitsTrackedBranches
Function · 0.80
TestClientFetchUpdatesRemoteTrackingBranchInModifiedRepoDir
Function · 0.80
TestClientFetchReportsMissingRef
Function · 0.80
TestClientPullFastForwardsCurrentBranch
Function · 0.80
TestClientPullRejectsNonFastForwardUpdate
Function · 0.80
TestClientPushCreatesRemoteBranchAndUpstream
Function · 0.80
TestClientCloneCreatesWorkingRepositoryInModifiedRepoDir
Function · 0.80
TestClientCloneCreatesBareRepository
Function · 0.80
TestClientCloneUsesExplicitBareTarget
Function · 0.80
TestClientAddRemoteTracksAllBranches
Function · 0.80
Calls
1
fileURL
Function · 0.85
Tested by
no test coverage detected