MCPcopy
hub / github.com/kptdev/kpt / CheckoutBranch

Method CheckoutBranch

internal/testutil/setup_manager.go:146–146  ·  view source on GitHub ↗
(branch string, create bool)

Source from the content-addressed store, hash-verified

144
145type GitDirectory interface {
146 CheckoutBranch(branch string, create bool) error
147 ReplaceData(data string) error
148 Commit(message string) error
149 Tag(tagName string) error

Implementers 2

TestGitRepointernal/testutil/testutil.go
TestWorkspaceinternal/testutil/testutil.go

Calls

no outgoing calls