• Michael Albinus's avatar
    Implement access-file in Tramp · 0a6c4479
    Michael Albinus authored
    * lisp/net/tramp-adb.el (tramp-adb-file-name-handler-alist):
    * lisp/net/tramp-archive.el (tramp-archive-file-name-handler-alist):
    * lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
    * lisp/net/tramp-rclone.el (tramp-rclone-file-name-handler-alist):
    * lisp/net/tramp-sh.el (tramp-sh-file-name-handler-alist)
    * lisp/net/tramp-smb.el (tramp-smb-file-name-handler-alist):
    * lisp/net/tramp-sudoedit.el (tramp-sudoedit-file-name-handler-alist):
    Add `access-file'.
    
    * lisp/net/tramp-archive.el (tramp-archive-handle-access-file):
    * lisp/net/tramp.el (tramp-handle-access-file): New defun.
    (tramp-condition-case-unless-debug): Add declaration.
    (tramp-handle-insert-directory):
    * lisp/net/tramp-sh.el (tramp-sh-handle-insert-directory):
    * lisp/net/tramp-smb.el (tramp-smb-handle-insert-directory):
    Check, whether directory is accessible.
    
    * test/lisp/net/tramp-archive-tests.el
    (tramp-archive-test17-insert-directory)
    (tramp-archive-test18-file-attributes):
    * test/lisp/net/tramp-tests.el (tramp-test17-insert-directory)
    (tramp-test18-file-attributes): Test error cases.
    0a6c4479
tramp-tests.el 204 KB