class
Sepia::FileStorage::WatcherConfig
- Sepia::FileStorage::WatcherConfig
- Reference
- Object
Overview
File system watcher for external change detection.
Automatically monitors the storage directory for external changes and invalidates cache entries when files are modified.
storage = FileStorage.new("./data", watch: true)
storage.watcher_running? # => true
Simple configuration class for file system watcher
Defined in:
sepia/file_storage.crConstructors
Class Method Summary
Instance Method Summary
-
#enabled : Bool
ameba:disable Naming/QueryBoolMethods
-
#enabled=(enabled : Bool)
ameba:disable Naming/QueryBoolMethods
- #latency : Float64
- #latency=(latency : Float64)
-
#recursive : Bool
ameba:disable Naming/QueryBoolMethods
-
#recursive=(recursive : Bool)
ameba:disable Naming/QueryBoolMethods