Function: file-group-gid
file-group-gid is a byte-compiled function defined in simple.el.gz.
Signature
(file-group-gid)
Documentation
Return the connection-local effective gid.
This is similar to group-gid, but may invoke a file name handler
based on default-directory. See Info node (elisp)Magic File
Names.
If a file name handler is unable to retrieve the effective gid, this function will instead return -1.
Probably introduced at or before Emacs version 30.1.
Source Code
;; Defined in /usr/src/emacs/lisp/simple.el.gz
(defun file-group-gid ()
"Return the connection-local effective gid.
This is similar to `group-gid', but may invoke a file name handler
based on `default-directory'. See Info node `(elisp)Magic File
Names'.
If a file name handler is unable to retrieve the effective gid,
this function will instead return -1."
(if-let* ((handler (find-file-name-handler default-directory 'file-group-gid)))
(funcall handler 'file-group-gid)
(group-gid)))