class

Sepia::FileStorage::WatcherConfig

Inherits Reference < Object

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

Constructors

new(enabled : Bool)
Source

Class methods

from(config : Bool | Hash)
Source

Instance methods

enabled

ameba:disable Naming/QueryBoolMethods

Source
enabled=(enabled : Bool)

ameba:disable Naming/QueryBoolMethods

Source
latency
Source
latency=(latency : Float64)
Source
recursive

ameba:disable Naming/QueryBoolMethods

Source
recursive=(recursive : Bool)

ameba:disable Naming/QueryBoolMethods

Source