MCPcopy 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
401func sanitizeRepoPath(repo string) string {
402 replacer := strings.NewReplacer("/", "__", "\\", "__", ":", "__", "@", "__")
403 return replacer.Replace(repo)
404}

Callers 5

runUpdateForTargetRepoFunction · 0.85
prepareDeployCheckoutFunction · 0.85
scanUpgradeRepoFunction · 0.85
runUpgradeForTargetRepoFunction · 0.85
previewOrgRepoUpdatesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected