Small facade for Java's WatchService to be notified of FS changes
Small facade for Java's WatchService to be notified of FS changes
(->evts coll)
Prepare a list of event types for Path/register
Prepare a list of event types for Path/register
(->path base elems)
(->path base elems & more)
Construct a path from
Construct a path from
(group-events polled)
When receiving multiple events on a key, group them by path
When receiving multiple events on a key, group them by path
(watch! locations notify!)
(watch! locations
notify!
{:keys [event-types] :or {event-types [:create :modify :delete]}})
Watch a location or seq of locations and call notify! with two args (path and types) when events occur. Accepts an optional map of options: exception! is a callback and event-types a list of keywords
Watch a location or seq of locations and call notify! with two args (path and types) when events occur. Accepts an optional map of options: exception! is a callback and event-types a list of keywords
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close