class FSWatch::Session
- FSWatch::Session
- Reference
- Object
Defined in:
session.crConstructors
Class Method Summary
Instance Method Summary
- #add_event_type_filter(event_type : EventTypeFilter)
- #add_filter(monitor_filter : MonitorFilter)
- #add_path(path : String | Path)
- #add_property(name : String, value : String)
- #allow_overflow=(value : Bool)
- #directory_only=(value : Bool)
- #finalize
- #follow_symlinks=(value : Bool)
- #is_running
- #latency=(value : Float64)
- #on_change(&on_change : Event -> )
- #recursive=(value : Bool)
- #start_monitor
- #stop_monitor
- #to_unsafe : LibFSWatch::Handle
Constructor Detail
Class Method Detail
def self.build(*, latency : Float64 | Nil = nil, recursive : Bool | Nil = nil, directory_only : Bool | Nil = nil, follow_symlinks : Bool | Nil = nil, allow_overflow : Bool | Nil = nil, properties : Hash(String, String) | Nil = nil, event_type_filters : Array(EventTypeFilter) | Nil = nil, filters : Array(MonitorFilter) | Nil = nil)
#