Function: tramp-gvfs-handle-get-remote-gid
tramp-gvfs-handle-get-remote-gid is a byte-compiled function defined
in tramp-gvfs.el.gz.
Signature
(tramp-gvfs-handle-get-remote-gid VEC ID-FORMAT)
Documentation
The gid of the remote connection VEC, in ID-FORMAT.
ID-FORMAT valid values are string and integer.
Source Code
;; Defined in /usr/src/emacs/lisp/net/tramp-gvfs.el.gz
(defun tramp-gvfs-handle-get-remote-gid (vec id-format)
"The gid of the remote connection VEC, in ID-FORMAT.
ID-FORMAT valid values are `string' and `integer'."
;; The result is cached in `tramp-get-remote-gid'.
(when-let ((localname
(tramp-get-connection-property (tramp-get-process vec) "share")))
(file-attribute-group-id
(file-attributes (tramp-make-tramp-file-name vec localname) id-format))))