Function: file-notify--add-watch-gfilenotify

file-notify--add-watch-gfilenotify is a byte-compiled function defined in filenotify.el.gz.

Signature

(file-notify--add-watch-gfilenotify FILE DIR FLAGS)

Documentation

Add a watch for FILE in DIR with FLAGS, using gfilenotify.

Source Code

;; Defined in /usr/src/emacs/lisp/filenotify.el.gz
(defun file-notify--add-watch-gfilenotify (_file dir flags)
  "Add a watch for FILE in DIR with FLAGS, using gfilenotify."
  (gfile-add-watch dir
                   (append '(watch-mounts send-moved) flags)
                   #'file-notify--callback-gfilenotify))