Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for watchFiles (0.16 sec)

  1. cni/pkg/util/pluginutil.go

    	watcher, err := fsnotify.NewWatcher()
    	if err != nil {
    		return nil, fmt.Errorf("watcher create: %v", err)
    	}
    
    	fileModified, errChan := make(chan struct{}), make(chan error)
    	go watchFiles(watcher, fileModified, errChan)
    
    	for _, path := range paths {
    		if !file.Exists(path) {
    			log.Infof("file watcher skipping watch on non-existent path: %v", path)
    			continue
    		}
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 3.6K bytes
    - Viewed (0)
Back to top