Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for walkMatch (0.19 sec)

  1. 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)
Back to top