PkgGetter knows how to fetch a package given a git repo, path and ref.
| 316 | |
| 317 | // PkgGetter knows how to fetch a package given a git repo, path and ref. |
| 318 | type 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. |
| 323 | type defaultPkgGetter struct{} |
no outgoing calls
no test coverage detected