Function: tramp-smb-get-stat-capability
tramp-smb-get-stat-capability is a byte-compiled function defined in
tramp-smb.el.gz.
Signature
(tramp-smb-get-stat-capability VEC)
Documentation
Check whether the SMB server supports the stat command.
Source Code
;; Defined in /usr/src/emacs/lisp/net/tramp-smb.el.gz
(defun tramp-smb-get-stat-capability (vec)
"Check whether the SMB server supports the `stat' command."
;; When we are not logged in yet, we return nil.
(if (and (tramp-smb-get-share vec)
(process-live-p (tramp-get-connection-process vec)))
(with-tramp-connection-property (tramp-get-process vec) "stat-capability"
(tramp-smb-send-command vec "stat /"))))