Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cli/cli
/ normalizeDir
Function
normalizeDir
pkg/cmd/extension/command_test.go:973–975 ·
view source on GitHub ↗
(d string)
Source
from the content-addressed store, hash-verified
971
}
972
973
func
normalizeDir(d string) string {
974
return
strings.TrimPrefix(d,
"/private"
)
975
}
976
977
func
Test_checkValidExtension(t *testing.T) {
978
rootCmd := &cobra.Command{}
Callers
1
TestNewCmdExtension
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected