file_system v0.2.1 FileSystem.Backends.FSWindows

This file is a fork from https://github.com/synrc/fs. FileSysetm backend for windows, a GenServer receive data from Port, parse event and send it to the worker process. Need binary executable file packaged in to use this backend.

Backend Options

  • :recursive (bool, default: true), monitor directories and their contents recursively

Executable File Path

The default executable file is inotifywait.exe in priv dir of :file_system application, there’re two ways to custom it, useful when run :file_system with escript.

  • config with config.exs config :file_system, :fs_windows, executable_file: "YOUR_EXECUTABLE_FILE_PATH"

  • config with FILESYSTEM_FSWINDOWS_EXECUTABLE_FILE os environment FILESYSTEM_FSWINDOWS_EXECUTABLE_FILE=YOUR_EXECUTABLE_FILE_PATH

Summary

Functions

bootstrap()

Callback implementation for FileSystem.Backend.bootstrap/0.

known_events()

Callback implementation for FileSystem.Backend.known_events/0.

parse_line(line)
parse_options(options)
start_link(args)
supported_systems()

Callback implementation for FileSystem.Backend.supported_systems/0.