Function: tramp-get-remote-gid
tramp-get-remote-gid is a byte-compiled function defined in
tramp.el.gz.
Signature
(tramp-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.el.gz
(defun tramp-get-remote-gid (vec id-format)
"The gid of the remote connection VEC, in ID-FORMAT.
ID-FORMAT valid values are `string' and `integer'."
(or (and (tramp-file-name-p vec)
(with-tramp-connection-property vec (format "gid-%s" id-format)
(tramp-file-name-handler #'tramp-get-remote-gid vec id-format)))
;; Ensure there is a valid result.
(and (equal id-format 'integer) tramp-unknown-id-integer)
(and (equal id-format 'string) tramp-unknown-id-string)))