Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/yanateras/fsentry

Efficient Inotify-based filesystem sentry for Elixir
https://github.com/yanateras/fsentry

elixir elixir-driver filesystem hex-package inotify status-release

Last synced: 3 days ago
JSON representation

Efficient Inotify-based filesystem sentry for Elixir

Awesome Lists containing this project

README

        

# FSentry

FSentry is an Elixir module for spawning FS sentries. It is implemented as a
[port driver][] that streams FS event messages to a designated PID.

[port driver]: http://erlang.org/doc/tutorial/c_portdriver.html

Based on Inotify. macOS and BSD users should install [libinotify-kqueue][],
Windows users are currently out of luck (although it would be nice to have a
Win32 Inotify implementation).

[libinotify-kqueue]: https://github.com/libinotify-kqueue/libinotify-kqueue

Unlike [synrc/fs](https://github.com/synrc/fs), FSentry doesn't spawn external
processes and doesn't have any runtime dependencies. It also can listen on
individual files rather than just folders.