SecretsWatcherFileSystem.Backends.FSInotify (secrets_watcher_file_system v0.2.10) View Source
File system backend for GNU/Linux, FreeBSD, and OpenBSD.
This file is a fork from https://github.com/synrc/fs.
Backend Options
:recursive(bool, default: true), monitor directories and their contents recursively.
Executable File Path
Useful when running :secrets_watcher_file_system with escript.
The default listener executable file is found through finding inotifywait from
$PATH.
Two ways to customize the executable file path:
Module config with
config.exs:config :secrets_watcher_file_system, :fs_inotify, executable_file: "YOUR_EXECUTABLE_FILE_PATH"`System environment variable:
export FILESYSTEM_FSINOTIFY_EXECUTABLE_FILE="YOUR_EXECUTABLE_FILE_PATH"`
Link to this section Summary
Functions
Callback implementation for SecretsWatcherFileSystem.Backend.bootstrap/0.
Returns a specification to start this module under a supervisor.
Callback implementation for GenServer.init/1.
Callback implementation for SecretsWatcherFileSystem.Backend.known_events/0.
Callback implementation for SecretsWatcherFileSystem.Backend.supported_systems/0.
Link to this section Functions
Callback implementation for SecretsWatcherFileSystem.Backend.bootstrap/0.
Returns a specification to start this module under a supervisor.
See Supervisor.
Callback implementation for GenServer.init/1.
Callback implementation for SecretsWatcherFileSystem.Backend.known_events/0.
Callback implementation for SecretsWatcherFileSystem.Backend.supported_systems/0.