INNER CODE UNIT · Go
copyBundle
operator-framework/operator-lifecycle-manager · util/cpb/main.go:43
func copyBundle(dest string) error {
// Find the manifest directory
m, err := getMetadata()
if err != nil {
return fmt.Errorf("error finding metadata directory: %s", err)
}
fmt.Printf("%v\n", m)
return m.copy(dest)
}
type metadata struct {
annotationsFile string
manifestDir string
}
func (m *metadata) copy(dest string) error {