Function: tramp-sh-handle-get-remote-gid

tramp-sh-handle-get-remote-gid is a byte-compiled function defined in tramp-sh.el.gz.

Signature

(tramp-sh-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-sh.el.gz
(defun tramp-sh-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'."
  (ignore-errors
    (cond
     ((tramp-get-remote-id vec) (tramp-get-remote-gid-with-id vec id-format))
     ((tramp-get-remote-perl vec) (tramp-get-remote-gid-with-perl vec id-format))
     ((tramp-get-remote-python vec)
      (tramp-get-remote-gid-with-python vec id-format)))))