MCPcopy 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
973func normalizeDir(d string) string {
974 return strings.TrimPrefix(d, "/private")
975}
976
977func Test_checkValidExtension(t *testing.T) {
978 rootCmd := &cobra.Command{}

Callers 1

TestNewCmdExtensionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected