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

Method GetPkg

internal/util/diff/diff.go:319–319  ·  view source on GitHub ↗
(stagingDir, targetDir, repo, path, ref string)

Source from the content-addressed store, hash-verified

317// PkgGetter knows how to fetch a package given a git repo, path and ref.
318type PkgGetter interface {
319 GetPkg(stagingDir, targetDir, repo, path, ref string) (dir string, err error)
320}
321
322// defaultPkgGetter uses get.Command abstraction to implement PkgGetter.

Callers 1

RunMethod · 0.65

Implementers 1

defaultPkgGetterinternal/util/diff/diff.go

Calls

no outgoing calls

Tested by

no test coverage detected