watch/event
src/watch/event.tur
normalized filesystem-watch event record.
defn
watch-kind-none
(watch-kind-none)
defn
watch-kind-write
(watch-kind-write)
defn
watch-kind-create
(watch-kind-create)
defn
watch-kind-delete
(watch-kind-delete)
defn
watch-kind-rename
(watch-kind-rename)
defn
watch-kind-attrib
(watch-kind-attrib)
defn
watch-kind-overflow
(watch-kind-overflow)
defn
watch-event-make
(watch-event-make [root : cstr path : cstr full-path : cstr kind : int is-dir : int cookie : int])
allocate a new event record.
defn
watch-event-free
(watch-event-free [event : int])
release an event handle. Safe on 0.
defn
watch-event-root
(watch-event-root [event : int])
registered root that produced the event.
defn
watch-event-path
(watch-event-path [event : int])
path relative to root.
defn
watch-event-full-path
(watch-event-full-path [event : int])
absolute path on disk.
defn
watch-event-kind
(watch-event-kind [event : int])
normalized watch-kind-* value.
defn
watch-event-is-dir
(watch-event-is-dir [event : int])
1 if the affected path is a directory, else 0.
defn
watch-event-cookie
(watch-event-cookie [event : int])
rename correlation cookie or 0.
defn
watch-kind->cstr
(watch-kind->cstr [kind : int])
short human label for a kind value.