- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for walkMatch (0.08 sec)
-
tests/fuzz/regression_test.go
t.Run(c.Name(), func(t *testing.T) { by, err := os.ReadFile(filepath.Join(dir, c.Name())) if err != nil { t.Fatal(err) } runfuzz(t, c.Name(), by) }) } } func walkMatch(root string, pattern *regexp.Regexp) ([]string, error) { var matches []string err := filepath.Walk(root, func(path string, info os.FileInfo, err error) error { if err != nil { return err }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 10 16:43:09 UTC 2023 - 5.9K bytes - Viewed (0) -
pilot/pkg/config/monitor/monitor.go
func (m recursiveWatcher) watchRecursive(path string) error { err := filepath.Walk(path, func(walkPath string, fi os.FileInfo, err error) error { if err != nil { return err } if fi.IsDir() { if err = m.Watcher.Add(walkPath); err != nil { return err } } return nil }) return err }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Feb 12 17:36:33 UTC 2024 - 7.2K bytes - Viewed (0)