Function: tramp-gvfs-set-attribute
tramp-gvfs-set-attribute is a byte-compiled function defined in
tramp-gvfs.el.gz.
Signature
(tramp-gvfs-set-attribute VEC &rest ARGS)
Documentation
Call "gio set ..." if possible.
Source Code
;; Defined in /usr/src/emacs/lisp/net/tramp-gvfs.el.gz
(defun tramp-gvfs-set-attribute (vec &rest args)
"Call \"gio set ...\" if possible."
(let ((key (concat "gvfs-set-attribute-" (nth 3 args))))
(when (tramp-get-connection-property vec key t)
(or (apply #'tramp-gvfs-send-command vec "gvfs-set-attribute" args)
(with-current-buffer (tramp-get-connection-buffer vec)
(goto-char (point-min))
(when (looking-at-p "gio: Operation not supported")
(tramp-set-connection-property vec key nil)))
nil))))