efsw
efsw copied to clipboard
efsw is a C++ cross-platform file system watcher and notifier.
Create a bazel workspace meta data and make users can acccess in bazel repo. More details can get from website Bazel intro https://bazel.build/about/intro. My laptop version passes all of building,...
Any efsw contributors mind to take bazel build into consideration of next steps. Then we can use it in bazel workspace.
I monitor a directory named "d:\A". There is another folder path "d:\B" which has 1000 files, each file is about 200kb. Copy folder B to folder A, the callback function...
## Suppose a file system structure like this (Under deepin-x86_64), ------ ``` |-- test1 |-- test1-1 |-- test1-1-1 |-- test1-2 |-- test2 ``` ------ When I add test1 and test1-1...
memory leak doubt: at WatcherWin32.cpp. CreateWatch use below code. ```c /// Starts monitoring a directory. WatcherStructWin32* CreateWatch( LPCWSTR szDirectory, bool recursive, DWORD NotifyFilter, HANDLE iocp ) { WatcherStructWin32* tWatch; size_t...
My main instruction likes ```cpp int main () { FileWatcherInotify A = new FileWatcherInotify(...); A.watch('...'); delete A; return 0; } ``` There are two threads cross running in process, *...
From https://github.com/SpartanJ/efsw/issues/142#issuecomment-1427591056 Currently, the function that uses the `ReadDirectoryChangesW()` function does not check its return code, and this makes it difficult for users to detect and respond to failures. Therefore,...
```cpp { { Lock lock( mWatchesLock); wit = mWatches.find( pevent->wd); } wit->second; } ``` iterator `wit` might be an invalid if this iterator has been removed from map collection after...