-
- Downloads
rename and refactor (#26)
* Adds ExFSWatch.Backend behaviour * Adds a subscription API to ExFSWatch.Worker The Module based system is still available, it just subscribes to the worker in a spawned process. * Adds Subscription API to readme * rename to file_system * refactor the code struct and fs_mac backend * more log for fs_mac compiler * add module based API back * Moves the compile step into `mix compile` * refactor fs_linux backend * fix build for fs_linux backend * support delete and attrib events for fs_linux backend * remove kqueue backend, make inotify work for both linux and freebsd * refactor fs_windows backend * bugfix: whitespace in file path for fs_inotify backend * fix compile order and move backend to another module * add whitespace in path test case * add whitespace test case for fs_mac backend * add test for module api and subscribe api
Showing
- README.md 30 additions, 15 deletionsREADME.md
- c_src/bsd/main.c 0 additions, 34 deletionsc_src/bsd/main.c
- lib/exfswatch.ex 0 additions, 57 deletionslib/exfswatch.ex
- lib/exfswatch/backends/fsevents.ex 0 additions, 33 deletionslib/exfswatch/backends/fsevents.ex
- lib/exfswatch/backends/inotify_wait.ex 0 additions, 65 deletionslib/exfswatch/backends/inotify_wait.ex
- lib/exfswatch/backends/inotify_wait_win32.ex 0 additions, 37 deletionslib/exfswatch/backends/inotify_wait_win32.ex
- lib/exfswatch/backends/kqueue.ex 0 additions, 26 deletionslib/exfswatch/backends/kqueue.ex
- lib/exfswatch/supervisor.ex 0 additions, 16 deletionslib/exfswatch/supervisor.ex
- lib/exfswatch/worker.ex 0 additions, 30 deletionslib/exfswatch/worker.ex
- lib/file_system.ex 21 additions, 0 deletionslib/file_system.ex
- lib/file_system/backend.ex 28 additions, 0 deletionslib/file_system/backend.ex
- lib/file_system/backends/fs_inotify.ex 80 additions, 0 deletionslib/file_system/backends/fs_inotify.ex
- lib/file_system/backends/fs_mac.ex 71 additions, 0 deletionslib/file_system/backends/fs_mac.ex
- lib/file_system/backends/fs_windows.ex 75 additions, 0 deletionslib/file_system/backends/fs_windows.ex
- lib/file_system/module_api.ex 25 additions, 0 deletionslib/file_system/module_api.ex
- lib/file_system/utils.ex 20 additions, 0 deletionslib/file_system/utils.ex
- lib/file_system/worker.ex 34 additions, 0 deletionslib/file_system/worker.ex
- mix.exs 16 additions, 21 deletionsmix.exs
- test/backends/fs_inotify_test.exs 48 additions, 0 deletionstest/backends/fs_inotify_test.exs
- test/backends/fs_mac_test.exs 14 additions, 0 deletionstest/backends/fs_mac_test.exs
Loading
Please register or sign in to comment