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