file_system v0.2.10 FileSystem.Backends.FSPoll View Source

FileSysetm backend for any OS, a GenServer that regularly scans file system to detect changes and send them to the worker process.

Backend Options

  • :interval (integer, default: 1000), polling interval

Use FSPoll Backend

Unlike other backends, polling backend is never automatically chosen in any OS environment, despite being usable on all platforms.

To use polling backend, one has to explicitly specify in the backend option.

Link to this section Summary

Functions

Callback implementation for FileSystem.Backend.bootstrap/0.

Returns a specification to start this module under a supervisor.

Callback implementation for GenServer.init/1.

Callback implementation for FileSystem.Backend.known_events/0.

Link to this section Functions

Callback implementation for FileSystem.Backend.bootstrap/0.

Returns a specification to start this module under a supervisor.

See Supervisor.

Callback implementation for GenServer.init/1.

Callback implementation for FileSystem.Backend.known_events/0.

Callback implementation for FileSystem.Backend.supported_systems/0.