INNER CODE UNIT · Go

intersection

pingcap/tidb-operator · cmd/crd-modifier/main.go:281

func intersection(a, b []string) []string {
	var ret []string
	for _, key := range a {
		for _, retain := range b {
			if key == retain {
				ret = append(ret, key)
			}
		}
	}

	return ret
}

const (
	defaultPerm = 0o666
)

func modifyValues(chartPath string, crds []string) error {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…