Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/github/gh-aw
/ sanitizeRepoPath
Function
sanitizeRepoPath
pkg/cli/update_command.go:401–404 ·
view source on GitHub ↗
(repo string)
Source
from the content-addressed store, hash-verified
399
}
400
401
func
sanitizeRepoPath(repo string) string {
402
replacer := strings.NewReplacer(
"/"
,
"__"
,
"\\"
,
"__"
,
":"
,
"__"
,
"@"
,
"__"
)
403
return
replacer.Replace(repo)
404
}
Callers
5
runUpdateForTargetRepo
Function · 0.85
prepareDeployCheckout
Function · 0.85
scanUpgradeRepo
Function · 0.85
runUpgradeForTargetRepo
Function · 0.85
previewOrgRepoUpdates
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected