Function: tramp-gvfs-get-file-attributes
tramp-gvfs-get-file-attributes is a byte-compiled function defined in
tramp-gvfs.el.gz.
Signature
(tramp-gvfs-get-file-attributes FILENAME)
Documentation
Return GVFS attributes association list of FILENAME.
Source Code
;; Defined in /usr/src/emacs/lisp/net/tramp-gvfs.el.gz
(defun tramp-gvfs-get-file-attributes (filename)
"Return GVFS attributes association list of FILENAME."
(setq filename (directory-file-name (expand-file-name filename)))
(with-parsed-tramp-file-name filename nil
(setq localname (file-name-unquote localname))
(if (or (and (string-match-p
(rx bol (| "afp" (: "dav" (? "s")) "smb") eol) method)
(string-match-p (rx bol (? "/") (+ (not "/")) eol) localname))
(string-equal localname "/"))
(tramp-gvfs-get-root-attributes filename)
(assoc
(file-name-nondirectory filename)
(tramp-gvfs-get-directory-attributes (file-name-directory filename))))))