Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/kptdev/kpt
/ clean
Function
clean
internal/util/search/search.go:260–262 ·
view source on GitHub ↗
clean trims the string and removes quotes around it
(input string)
Source
from the content-addressed store, hash-verified
258
259
// clean trims the string and removes quotes around it
260
func
clean(input string) string {
261
return
strings.Trim(strings.TrimSpace(input), `"`)
262
}
Callers
15
TestCmd_execute
Function · 0.85
TestCmdMainBranch_execute
Function · 0.85
TestCmdExecute
Function · 0.85
TestCmd_execute
Function · 0.85
TestCmd_failUnCommitted
Function · 0.85
TestGitUtil_DefaultRef
Function · 0.85
TestCommand_Run
Function · 0.85
TestCommand_Run_subdir
Function · 0.85
TestCommand_Run_destination
Function · 0.85
TestCommand_Run_subdirAndDestination
Function · 0.85
TestCommand_Run_branch
Function · 0.85
TestCommand_Run_tag
Function · 0.85
Calls
no outgoing calls
Tested by
15
TestCmd_execute
Function · 0.68
TestCmdMainBranch_execute
Function · 0.68
TestCmdExecute
Function · 0.68
TestCmd_execute
Function · 0.68
TestCmd_failUnCommitted
Function · 0.68
TestGitUtil_DefaultRef
Function · 0.68
TestCommand_Run
Function · 0.68
TestCommand_Run_subdir
Function · 0.68
TestCommand_Run_destination
Function · 0.68
TestCommand_Run_subdirAndDestination
Function · 0.68
TestCommand_Run_branch
Function · 0.68
TestCommand_Run_tag
Function · 0.68