- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for Op (0.12 sec)
-
cni/pkg/util/pluginutil.go
}, nil } func watchFiles(watcher *fsnotify.Watcher, fileModified chan struct{}, errChan chan error) { for { select { case event, ok := <-watcher.Events: if !ok { return } if event.Op&(fsnotify.Create|fsnotify.Write|fsnotify.Remove) != 0 { log.Infof("file modified: %v", event.Name) fileModified <- struct{}{} } case err, ok := <-watcher.Errors: if !ok { return }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 3.6K bytes - Viewed (0) -
cni/pkg/nodeagent/fakes_test.go
fs.FileInfo } func (f *fakeFileFakeFI) Sys() any { return &syscall.Stat_t{Ino: 1} } // Open opens the named file. // When Open returns an error, it should be of type *PathError // with the Op field set to "open", the Path field set to name, // and the Err field describing the problem. // // Open should reject attempts to open names that do not satisfy // ValidPath(name), returning a *PathError with Err set to
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 21:47:31 GMT 2024 - 3.9K bytes - Viewed (0)