Function: file-notify--callback-kqueue
file-notify--callback-kqueue is a byte-compiled function defined in
filenotify.el.gz.
Signature
(file-notify--callback-kqueue (DESC ACTIONS FILE &optional FILE1-OR-COOKIE))
Documentation
Notification callback for kqueue.
Source Code
;; Defined in /usr/src/emacs/lisp/filenotify.el.gz
(cl-defun file-notify--callback-kqueue ((desc actions file
&optional file1-or-cookie))
"Notification callback for kqueue."
(file-notify--handle-event
desc
(delq nil (mapcar (lambda (action)
(cond
((eq action 'create) 'created)
((eq action 'write) 'changed)
((memq action '(attrib link)) 'attribute-changed)
((eq action 'delete) 'deleted)
((eq action 'rename) 'renamed)
((eq action 'revoke) 'stopped)))
actions))
file file1-or-cookie))