INNER CODE UNIT · Go

readReports

kubernetes-sigs/gateway-api · tools/implist/main.go:176

func readReports(dir string) (ReportsMap, error) {
	out := make(ReportsMap)
	rootFS := os.DirFS(dir)

	log.Printf("Loading Conformance reports from %s", dir)

	err := filepath.WalkDir(dir, func(path string, d fs.DirEntry, err error) error {
		if err != nil {
			return fmt.Errorf("error accessing %s: %w", path, err)
		}
		if d.IsDir() {
			return nil
		}

		if filepath.Ext(d.Name()) != ".yaml" {
			return nil
		}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…