Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/kptdev/kpt
/ ExampleCommand
Function
ExampleCommand
internal/util/update/examples_test.go:23–32 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
21
)
22
23
func
ExampleCommand() {
24
err := update.Command{
25
Path: filepath.Join(
"path"
,
"to"
,
"package"
),
26
Ref:
"v1.2"
,
27
Strategy: update.AlphaGitPatch,
28
}.Run()
29
if
err != nil {
30
// handle error
31
}
32
}
Callers
nothing calls this directly
Calls
1
Run
Method · 0.45
Tested by
no test coverage detected