file_system v0.1.2 FileSystem.Backends.FSMac
This file is a fork from https://github.com/synrc/fs. FileSysetm backend for macos, a GenServer receive data from Port, parse event and send it to the worker process. Will compile executable the buildin executable file when file the first time it is used.
Backend Options
:latency
(float, default: 0.5), latency period.:no_defer
(bool, default: false), enable no-defer latency modifier. Works with latency parameter, Also check appleFSEvent
api documents https://developer.apple.com/documentation/coreservices/kfseventstreamcreateflagnodefer:watch_root
(bool, default: false), watch for when the root path has changed. Set the flagtrue
to monitor events when watching/tmp/fs/dir
and runmv /tmp/fs /tmp/fx
. Also check appleFSEvent
api documents https://developer.apple.com/documentation/coreservices/kfseventstreamcreateflagwatchrootrecursive is enabled by default, no option to disable it for now.
Summary
Functions
Callback implementation for FileSystem.Backend.bootstrap/0
Callback implementation for FileSystem.Backend.known_events/0
Callback implementation for FileSystem.Backend.supported_systems/0
Functions
Callback implementation for FileSystem.Backend.bootstrap/0
.
Callback implementation for FileSystem.Backend.known_events/0
.
Callback implementation for FileSystem.Backend.supported_systems/0
.