fsnotify
fsnotify copied to clipboard
A file system monitor in Nim
Results
3
fsnotify issues
Sort by
recently updated
recently updated
newest added
Very rarely when polling for a file, os.getLastModificationTime can fail to find the file (as it was just removed) after os.fileExists returns true and thus raises OSError.
Race condition in file polling: `fileExists()` can return true, but file gets deleted before `getLastModificationTime()` executes, raising unhandled `OSError`. ## Changes Wrapped `getLastModificationTime()` calls in try-except blocks at race-prone locations...