- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for Walk (0.18 sec)
-
istioctl/pkg/validate/validate.go
if err != nil { log.Infof("file: %s is not closed: %v", path, err) } warningsByFilename[path] = warning } processDirectory := func(directory string, processFile func(string)) error { err := filepath.Walk(directory, func(path string, info os.FileInfo, err error) error { if err != nil { return err } if info.IsDir() { return nil } if isFileFormatValid(path) {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Jan 22 17:58:52 GMT 2024 - 15K bytes - Viewed (0) -
istioctl/pkg/analyze/analyze.go
} }) return local.ReaderSource{Name: f, Reader: r}, nil } func gatherFilesInDirectory(cmd *cobra.Command, dir string) ([]local.ReaderSource, error) { var readers []local.ReaderSource err := filepath.Walk(dir, func(path string, info os.FileInfo, err error) error { if err != nil { return err } // If we encounter a directory, recurse only if the --recursive option
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 02 08:32:06 GMT 2024 - 17K bytes - Viewed (0) -
operator/cmd/mesh/manifest-generate_test.go
} outFile.Close() default: return fmt.Errorf("unknown type: %v in %v", header.Typeflag, header.Name) } } return nil } func copyDir(src string, dest string) error { return filepath.Walk(src, func(path string, info fs.FileInfo, err error) error { if err != nil { return err } outpath := filepath.Join(dest, strings.TrimPrefix(path, src)) if info.IsDir() {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Apr 18 18:16:49 GMT 2024 - 43.5K bytes - Viewed (0)