diff options
| author | Michael Albinus | 2018-08-04 12:05:28 +0200 |
|---|---|---|
| committer | Michael Albinus | 2018-08-04 12:05:28 +0200 |
| commit | b9e2a91ec5b005c624eaca32064dc60b5f3131f9 (patch) | |
| tree | 81f02b92625ea1450375b943e0e12d1d8b2cbd50 | |
| parent | 5dc3d0a9b0594fee80a03e78fee109ebd0934dcf (diff) | |
| download | emacs-b9e2a91ec5b005c624eaca32064dc60b5f3131f9.tar.gz emacs-b9e2a91ec5b005c624eaca32064dc60b5f3131f9.zip | |
Rename Tramp method "owncloud" to "nextcloud"
In the spirit of freedom, "nextcloud" is preferred over "owncloud".
* doc/misc/tramp.texi (Quick Start Guide, GVFS based methods):
* etc/NEWS: Rename "owncloud" method to "nextcloud".
* lisp/net/tramp-gvfs.el (tramp-gvfs-methods, tramp-goa-methods)
(tramp-gvfs-url-file-name, tramp-gvfs-handler-mounted-unmounted)
(tramp-gvfs-connection-mounted-p, tramp-gvfs-mount-spec)
(tramp-get-goa-accounts): Use "nextcloud" instead of "owncloud".
(tramp-gvfs-nextcloud-default-prefix)
(tramp-gvfs-nextcloud-default-prefix-regexp): Rename them. Adapt
all callees.
* test/lisp/net/tramp-tests.el (tramp--test-nextcloud-p):
Rename from `tramp--test-owncloud-p'.
(tramp-test11-copy-file, tramp-test12-rename-file): Use it.
| -rw-r--r-- | doc/misc/tramp.texi | 22 | ||||
| -rw-r--r-- | etc/NEWS | 2 | ||||
| -rw-r--r-- | lisp/net/tramp-gvfs.el | 37 | ||||
| -rw-r--r-- | test/lisp/net/tramp-tests.el | 16 |
4 files changed, 41 insertions, 36 deletions
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi index 463f10e7d72..55c21b7efc4 100644 --- a/doc/misc/tramp.texi +++ b/doc/misc/tramp.texi | |||
| @@ -544,9 +544,9 @@ file system), @file{@trampfn{dav,user@@host,/path/to/file}} and | |||
| 544 | @cindex method @option{gdrive} | 544 | @cindex method @option{gdrive} |
| 545 | @cindex @option{gdrive} method | 545 | @cindex @option{gdrive} method |
| 546 | @cindex google drive | 546 | @cindex google drive |
| 547 | @cindex method @option{owncloud} | 547 | @cindex method @option{nextcloud} |
| 548 | @cindex @option{owncloud} method | 548 | @cindex @option{nextcloud} method |
| 549 | @cindex nextcloud | 549 | @cindex owncloud |
| 550 | 550 | ||
| 551 | GVFS-based methods include also @acronym{GNOME} Online Accounts, which | 551 | GVFS-based methods include also @acronym{GNOME} Online Accounts, which |
| 552 | support the @option{Files} service. These are the Google Drive file | 552 | support the @option{Files} service. These are the Google Drive file |
| @@ -554,7 +554,7 @@ system, and the OwnCloud/NextCloud file system. The file name syntax | |||
| 554 | is here always | 554 | is here always |
| 555 | @file{@trampfn{gdrive,john.doe@@gmail.com,/path/to/file}} | 555 | @file{@trampfn{gdrive,john.doe@@gmail.com,/path/to/file}} |
| 556 | (@samp{john.doe@@gmail.com} stands here for your Google Drive | 556 | (@samp{john.doe@@gmail.com} stands here for your Google Drive |
| 557 | account), or @file{@trampfn{owncloud,user@@host#8081,/path/to/file}} | 557 | account), or @file{@trampfn{nextcloud,user@@host#8081,/path/to/file}} |
| 558 | (@samp{8081} stands for the port number) for OwnCloud/NextCloud files. | 558 | (@samp{8081} stands for the port number) for OwnCloud/NextCloud files. |
| 559 | 559 | ||
| 560 | 560 | ||
| @@ -1096,7 +1096,7 @@ but with SSL encryption. Both methods support the port numbers. | |||
| 1096 | 1096 | ||
| 1097 | Paths being part of the WebDAV volume to be mounted by GVFS, as it is | 1097 | Paths being part of the WebDAV volume to be mounted by GVFS, as it is |
| 1098 | common for OwnCloud or NextCloud file names, are not supported by | 1098 | common for OwnCloud or NextCloud file names, are not supported by |
| 1099 | these methods. See method @option{owncloud} for handling them. | 1099 | these methods. See method @option{nextcloud} for handling them. |
| 1100 | 1100 | ||
| 1101 | @item @option{gdrive} | 1101 | @item @option{gdrive} |
| 1102 | @cindex method @option{gdrive} | 1102 | @cindex method @option{gdrive} |
| @@ -1114,13 +1114,13 @@ Since Google Drive uses cryptic blob file names internally, | |||
| 1114 | could produce unexpected behavior in case two files in the same | 1114 | could produce unexpected behavior in case two files in the same |
| 1115 | directory have the same @code{display-name}, such a situation must be avoided. | 1115 | directory have the same @code{display-name}, such a situation must be avoided. |
| 1116 | 1116 | ||
| 1117 | @item @option{owncloud} | 1117 | @item @option{nextcloud} |
| 1118 | @cindex @acronym{GNOME} Online Accounts | 1118 | @cindex @acronym{GNOME} Online Accounts |
| 1119 | @cindex method @option{owncloud} | 1119 | @cindex method @option{nextcloud} |
| 1120 | @cindex @option{owncloud} method | 1120 | @cindex @option{nextcloud} method |
| 1121 | @cindex nextcloud | 1121 | @cindex owncloud |
| 1122 | 1122 | ||
| 1123 | As the name indicates, the method @option{owncloud} allows you to | 1123 | As the name indicates, the method @option{nextcloud} allows you to |
| 1124 | access OwnCloud or NextCloud hosted files and directories. Like the | 1124 | access OwnCloud or NextCloud hosted files and directories. Like the |
| 1125 | @option{gdrive} method, your credentials must be populated in your | 1125 | @option{gdrive} method, your credentials must be populated in your |
| 1126 | @command{Online Accounts} application outside Emacs. The method | 1126 | @command{Online Accounts} application outside Emacs. The method |
| @@ -1139,7 +1139,7 @@ that for security reasons refuse @command{ssh} connections. | |||
| 1139 | @defopt tramp-gvfs-methods | 1139 | @defopt tramp-gvfs-methods |
| 1140 | This user option is a list of external methods for GVFS@. By default, | 1140 | This user option is a list of external methods for GVFS@. By default, |
| 1141 | this list includes @option{afp}, @option{dav}, @option{davs}, | 1141 | this list includes @option{afp}, @option{dav}, @option{davs}, |
| 1142 | @option{gdrive}, @option{owncloud} and @option{sftp}. Other methods | 1142 | @option{gdrive}, @option{nextcloud} and @option{sftp}. Other methods |
| 1143 | to include are @option{ftp}, @option{http}, @option{https} and | 1143 | to include are @option{ftp}, @option{http}, @option{https} and |
| 1144 | @option{smb}. These methods are not intended to be used directly as | 1144 | @option{smb}. These methods are not intended to be used directly as |
| 1145 | GVFS based method. Instead, they are added here for the benefit of | 1145 | GVFS based method. Instead, they are added here for the benefit of |
| @@ -598,7 +598,7 @@ process. It now accepts signals specified either by name or by its number. | |||
| 598 | ** Tramp | 598 | ** Tramp |
| 599 | 599 | ||
| 600 | +++ | 600 | +++ |
| 601 | *** New connection method "owncloud", which allows to access OwnCloud | 601 | *** New connection method "nextcloud", which allows to access OwnCloud |
| 602 | or NextCloud hosted files and directories. | 602 | or NextCloud hosted files and directories. |
| 603 | 603 | ||
| 604 | +++ | 604 | +++ |
diff --git a/lisp/net/tramp-gvfs.el b/lisp/net/tramp-gvfs.el index 1f40339c271..84af410de07 100644 --- a/lisp/net/tramp-gvfs.el +++ b/lisp/net/tramp-gvfs.el | |||
| @@ -49,9 +49,9 @@ | |||
| 49 | 49 | ||
| 50 | ;; The user option `tramp-gvfs-methods' contains the list of supported | 50 | ;; The user option `tramp-gvfs-methods' contains the list of supported |
| 51 | ;; connection methods. Per default, these are "afp", "dav", "davs", | 51 | ;; connection methods. Per default, these are "afp", "dav", "davs", |
| 52 | ;; "gdrive", "owncloud" and "sftp". | 52 | ;; "gdrive", "nextcloud" and "sftp". |
| 53 | 53 | ||
| 54 | ;; "gdrive" and "owncloud" connection methods require a respective | 54 | ;; "gdrive" and "nextcloud" connection methods require a respective |
| 55 | ;; account in GNOME Online Accounts, with enabled "Files" service. | 55 | ;; account in GNOME Online Accounts, with enabled "Files" service. |
| 56 | 56 | ||
| 57 | ;; Other possible connection methods are "ftp", "http", "https" and | 57 | ;; Other possible connection methods are "ftp", "http", "https" and |
| @@ -121,7 +121,7 @@ | |||
| 121 | 121 | ||
| 122 | ;;;###tramp-autoload | 122 | ;;;###tramp-autoload |
| 123 | (defcustom tramp-gvfs-methods | 123 | (defcustom tramp-gvfs-methods |
| 124 | '("afp" "dav" "davs" "gdrive" "owncloud" "sftp") | 124 | '("afp" "dav" "davs" "gdrive" "nextcloud" "sftp") |
| 125 | "List of methods for remote files, accessed with GVFS." | 125 | "List of methods for remote files, accessed with GVFS." |
| 126 | :group 'tramp | 126 | :group 'tramp |
| 127 | :version "27.1" | 127 | :version "27.1" |
| @@ -132,11 +132,11 @@ | |||
| 132 | (const "gdrive") | 132 | (const "gdrive") |
| 133 | (const "http") | 133 | (const "http") |
| 134 | (const "https") | 134 | (const "https") |
| 135 | (const "owncloud") | 135 | (const "nextcloud") |
| 136 | (const "sftp") | 136 | (const "sftp") |
| 137 | (const "smb")))) | 137 | (const "smb")))) |
| 138 | 138 | ||
| 139 | (defconst tramp-goa-methods '("gdrive" "owncloud") | 139 | (defconst tramp-goa-methods '("gdrive" "nextcloud") |
| 140 | "List of methods which require registration at GNOME Online Accounts.") | 140 | "List of methods which require registration at GNOME Online Accounts.") |
| 141 | 141 | ||
| 142 | ;; Remove GNOME Online Accounts methods if not supported. | 142 | ;; Remove GNOME Online Accounts methods if not supported. |
| @@ -511,11 +511,11 @@ It has been changed in GVFS 1.14.") | |||
| 511 | ":[[:blank:]]+\\(.*\\)$") | 511 | ":[[:blank:]]+\\(.*\\)$") |
| 512 | "Regexp to parse GVFS file system attributes with `gvfs-info'.") | 512 | "Regexp to parse GVFS file system attributes with `gvfs-info'.") |
| 513 | 513 | ||
| 514 | (defconst tramp-gvfs-owncloud-default-prefix "/remote.php/webdav" | 514 | (defconst tramp-gvfs-nextcloud-default-prefix "/remote.php/webdav" |
| 515 | "Default prefix for owncloud / nextcloud methods.") | 515 | "Default prefix for owncloud / nextcloud methods.") |
| 516 | 516 | ||
| 517 | (defconst tramp-gvfs-owncloud-default-prefix-regexp | 517 | (defconst tramp-gvfs-nextcloud-default-prefix-regexp |
| 518 | (concat (regexp-quote tramp-gvfs-owncloud-default-prefix) "$") | 518 | (concat (regexp-quote tramp-gvfs-nextcloud-default-prefix) "$") |
| 519 | "Regexp of default prefix for owncloud / nextcloud methods.") | 519 | "Regexp of default prefix for owncloud / nextcloud methods.") |
| 520 | 520 | ||
| 521 | 521 | ||
| @@ -1380,7 +1380,7 @@ file-notify events." | |||
| 1380 | (with-parsed-tramp-file-name filename nil | 1380 | (with-parsed-tramp-file-name filename nil |
| 1381 | (when (string-equal "gdrive" method) | 1381 | (when (string-equal "gdrive" method) |
| 1382 | (setq method "google-drive")) | 1382 | (setq method "google-drive")) |
| 1383 | (when (string-equal "owncloud" method) | 1383 | (when (string-equal "nextcloud" method) |
| 1384 | (setq method "davs" | 1384 | (setq method "davs" |
| 1385 | localname | 1385 | localname |
| 1386 | (concat (tramp-gvfs-get-remote-prefix v) localname))) | 1386 | (concat (tramp-gvfs-get-remote-prefix v) localname))) |
| @@ -1543,8 +1543,8 @@ file-notify events." | |||
| 1543 | (setq method "davs")) | 1543 | (setq method "davs")) |
| 1544 | (when (and (string-equal "davs" method) | 1544 | (when (and (string-equal "davs" method) |
| 1545 | (string-match | 1545 | (string-match |
| 1546 | tramp-gvfs-owncloud-default-prefix-regexp prefix)) | 1546 | tramp-gvfs-nextcloud-default-prefix-regexp prefix)) |
| 1547 | (setq method "owncloud")) | 1547 | (setq method "nextcloud")) |
| 1548 | (when (string-equal "google-drive" method) | 1548 | (when (string-equal "google-drive" method) |
| 1549 | (setq method "gdrive")) | 1549 | (setq method "gdrive")) |
| 1550 | (when (and (string-equal "http" method) (stringp uri)) | 1550 | (when (and (string-equal "http" method) (stringp uri)) |
| @@ -1633,8 +1633,8 @@ file-notify events." | |||
| 1633 | (setq method "davs")) | 1633 | (setq method "davs")) |
| 1634 | (when (and (string-equal "davs" method) | 1634 | (when (and (string-equal "davs" method) |
| 1635 | (string-match | 1635 | (string-match |
| 1636 | tramp-gvfs-owncloud-default-prefix-regexp prefix)) | 1636 | tramp-gvfs-nextcloud-default-prefix-regexp prefix)) |
| 1637 | (setq method "owncloud")) | 1637 | (setq method "nextcloud")) |
| 1638 | (when (string-equal "google-drive" method) | 1638 | (when (string-equal "google-drive" method) |
| 1639 | (setq method "gdrive")) | 1639 | (setq method "gdrive")) |
| 1640 | (when (and (string-equal "http" method) (stringp uri)) | 1640 | (when (and (string-equal "http" method) (stringp uri)) |
| @@ -1688,7 +1688,7 @@ It was \"a(say)\", but has changed to \"a{sv})\"." | |||
| 1688 | (localname (tramp-file-name-unquote-localname vec)) | 1688 | (localname (tramp-file-name-unquote-localname vec)) |
| 1689 | (share (when (string-match "^/?\\([^/]+\\)" localname) | 1689 | (share (when (string-match "^/?\\([^/]+\\)" localname) |
| 1690 | (match-string 1 localname))) | 1690 | (match-string 1 localname))) |
| 1691 | (ssl (if (string-match "^davs\\|^owncloud" method) "true" "false")) | 1691 | (ssl (if (string-match "^davs\\|^nextcloud" method) "true" "false")) |
| 1692 | (mount-spec | 1692 | (mount-spec |
| 1693 | `(:array | 1693 | `(:array |
| 1694 | ,@(cond | 1694 | ,@(cond |
| @@ -1696,7 +1696,7 @@ It was \"a(say)\", but has changed to \"a{sv})\"." | |||
| 1696 | (list (tramp-gvfs-mount-spec-entry "type" "smb-share") | 1696 | (list (tramp-gvfs-mount-spec-entry "type" "smb-share") |
| 1697 | (tramp-gvfs-mount-spec-entry "server" host) | 1697 | (tramp-gvfs-mount-spec-entry "server" host) |
| 1698 | (tramp-gvfs-mount-spec-entry "share" share))) | 1698 | (tramp-gvfs-mount-spec-entry "share" share))) |
| 1699 | ((string-match "^dav\\|^owncloud" method) | 1699 | ((string-match "^dav\\|^nextcloud" method) |
| 1700 | (list (tramp-gvfs-mount-spec-entry "type" "dav") | 1700 | (list (tramp-gvfs-mount-spec-entry "type" "dav") |
| 1701 | (tramp-gvfs-mount-spec-entry "host" host) | 1701 | (tramp-gvfs-mount-spec-entry "host" host) |
| 1702 | (tramp-gvfs-mount-spec-entry "ssl" ssl))) | 1702 | (tramp-gvfs-mount-spec-entry "ssl" ssl))) |
| @@ -1707,6 +1707,9 @@ It was \"a(say)\", but has changed to \"a{sv})\"." | |||
| 1707 | ((string-equal "gdrive" method) | 1707 | ((string-equal "gdrive" method) |
| 1708 | (list (tramp-gvfs-mount-spec-entry "type" "google-drive") | 1708 | (list (tramp-gvfs-mount-spec-entry "type" "google-drive") |
| 1709 | (tramp-gvfs-mount-spec-entry "host" host))) | 1709 | (tramp-gvfs-mount-spec-entry "host" host))) |
| 1710 | ((string-equal "nextcloud" method) | ||
| 1711 | (list (tramp-gvfs-mount-spec-entry "type" "owncloud") | ||
| 1712 | (tramp-gvfs-mount-spec-entry "host" host))) | ||
| 1710 | ((string-match "^http" method) | 1713 | ((string-match "^http" method) |
| 1711 | (list (tramp-gvfs-mount-spec-entry "type" "http") | 1714 | (list (tramp-gvfs-mount-spec-entry "type" "http") |
| 1712 | (tramp-gvfs-mount-spec-entry | 1715 | (tramp-gvfs-mount-spec-entry |
| @@ -1980,6 +1983,8 @@ VEC is used only for traces." | |||
| 1980 | :port (match-string 3 identity))) | 1983 | :port (match-string 3 identity))) |
| 1981 | (when (string-equal (tramp-goa-name-method key) "google") | 1984 | (when (string-equal (tramp-goa-name-method key) "google") |
| 1982 | (setf (tramp-goa-name-method key) "gdrive")) | 1985 | (setf (tramp-goa-name-method key) "gdrive")) |
| 1986 | (when (string-equal (tramp-goa-name-method key) "owncloud") | ||
| 1987 | (setf (tramp-goa-name-method key) "nextcloud")) | ||
| 1983 | ;; Cache all properties. | 1988 | ;; Cache all properties. |
| 1984 | (dolist (prop (nconc account-properties files-properties)) | 1989 | (dolist (prop (nconc account-properties files-properties)) |
| 1985 | (tramp-set-connection-property key (car prop) (cdr prop))) | 1990 | (tramp-set-connection-property key (car prop) (cdr prop))) |
| @@ -2086,7 +2091,7 @@ This uses \"avahi-browse\" in case D-Bus is not enabled in Avahi." | |||
| 2086 | ;; * (Customizable) unmount when exiting Emacs. See tramp-archive.el. | 2091 | ;; * (Customizable) unmount when exiting Emacs. See tramp-archive.el. |
| 2087 | 2092 | ||
| 2088 | ;; * Host name completion for existing mount points (afp-server, | 2093 | ;; * Host name completion for existing mount points (afp-server, |
| 2089 | ;; smb-server, google-drive, owncloud) or via smb-network or network. | 2094 | ;; smb-server, google-drive, nextcloud) or via smb-network or network. |
| 2090 | ;; | 2095 | ;; |
| 2091 | ;; * Check, how two shares of the same SMB server can be mounted in | 2096 | ;; * Check, how two shares of the same SMB server can be mounted in |
| 2092 | ;; parallel. | 2097 | ;; parallel. |
diff --git a/test/lisp/net/tramp-tests.el b/test/lisp/net/tramp-tests.el index 5c5eff8798d..c0298bb7090 100644 --- a/test/lisp/net/tramp-tests.el +++ b/test/lisp/net/tramp-tests.el | |||
| @@ -2182,7 +2182,7 @@ This checks also `file-name-as-directory', `file-name-directory', | |||
| 2182 | (unwind-protect | 2182 | (unwind-protect |
| 2183 | ;; FIXME: This fails on my QNAP server, see | 2183 | ;; FIXME: This fails on my QNAP server, see |
| 2184 | ;; /share/Web/owncloud/data/owncloud.log | 2184 | ;; /share/Web/owncloud/data/owncloud.log |
| 2185 | (unless (tramp--test-owncloud-p) | 2185 | (unless (tramp--test-nextcloud-p) |
| 2186 | (write-region "foo" nil source) | 2186 | (write-region "foo" nil source) |
| 2187 | (should (file-exists-p source)) | 2187 | (should (file-exists-p source)) |
| 2188 | (make-directory target) | 2188 | (make-directory target) |
| @@ -2205,7 +2205,7 @@ This checks also `file-name-as-directory', `file-name-directory', | |||
| 2205 | (unwind-protect | 2205 | (unwind-protect |
| 2206 | ;; FIXME: This fails on my QNAP server, see | 2206 | ;; FIXME: This fails on my QNAP server, see |
| 2207 | ;; /share/Web/owncloud/data/owncloud.log | 2207 | ;; /share/Web/owncloud/data/owncloud.log |
| 2208 | (unless (and (tramp--test-owncloud-p) | 2208 | (unless (and (tramp--test-nextcloud-p) |
| 2209 | (or (not (file-remote-p source)) | 2209 | (or (not (file-remote-p source)) |
| 2210 | (not (file-remote-p target)))) | 2210 | (not (file-remote-p target)))) |
| 2211 | (make-directory source) | 2211 | (make-directory source) |
| @@ -2231,7 +2231,7 @@ This checks also `file-name-as-directory', `file-name-directory', | |||
| 2231 | ;; FIXME: This fails on my QNAP server, see | 2231 | ;; FIXME: This fails on my QNAP server, see |
| 2232 | ;; /share/Web/owncloud/data/owncloud.log | 2232 | ;; /share/Web/owncloud/data/owncloud.log |
| 2233 | (unless | 2233 | (unless |
| 2234 | (and (tramp--test-owncloud-p) (not (file-remote-p source))) | 2234 | (and (tramp--test-nextcloud-p) (not (file-remote-p source))) |
| 2235 | (make-directory source) | 2235 | (make-directory source) |
| 2236 | (should (file-directory-p source)) | 2236 | (should (file-directory-p source)) |
| 2237 | (write-region "foo" nil (expand-file-name "foo" source)) | 2237 | (write-region "foo" nil (expand-file-name "foo" source)) |
| @@ -2320,7 +2320,7 @@ This checks also `file-name-as-directory', `file-name-directory', | |||
| 2320 | (unwind-protect | 2320 | (unwind-protect |
| 2321 | ;; FIXME: This fails on my QNAP server, see | 2321 | ;; FIXME: This fails on my QNAP server, see |
| 2322 | ;; /share/Web/owncloud/data/owncloud.log | 2322 | ;; /share/Web/owncloud/data/owncloud.log |
| 2323 | (unless (tramp--test-owncloud-p) | 2323 | (unless (tramp--test-nextcloud-p) |
| 2324 | (make-directory source) | 2324 | (make-directory source) |
| 2325 | (should (file-directory-p source)) | 2325 | (should (file-directory-p source)) |
| 2326 | (write-region "foo" nil (expand-file-name "foo" source)) | 2326 | (write-region "foo" nil (expand-file-name "foo" source)) |
| @@ -2344,7 +2344,7 @@ This checks also `file-name-as-directory', `file-name-directory', | |||
| 2344 | (unwind-protect | 2344 | (unwind-protect |
| 2345 | ;; FIXME: This fails on my QNAP server, see | 2345 | ;; FIXME: This fails on my QNAP server, see |
| 2346 | ;; /share/Web/owncloud/data/owncloud.log | 2346 | ;; /share/Web/owncloud/data/owncloud.log |
| 2347 | (unless (tramp--test-owncloud-p) | 2347 | (unless (tramp--test-nextcloud-p) |
| 2348 | (make-directory source) | 2348 | (make-directory source) |
| 2349 | (should (file-directory-p source)) | 2349 | (should (file-directory-p source)) |
| 2350 | (write-region "foo" nil (expand-file-name "foo" source)) | 2350 | (write-region "foo" nil (expand-file-name "foo" source)) |
| @@ -4427,10 +4427,10 @@ This does not support external Emacs calls." | |||
| 4427 | (string-equal | 4427 | (string-equal |
| 4428 | "mock" (file-remote-p tramp-test-temporary-file-directory 'method))) | 4428 | "mock" (file-remote-p tramp-test-temporary-file-directory 'method))) |
| 4429 | 4429 | ||
| 4430 | (defun tramp--test-owncloud-p () | 4430 | (defun tramp--test-nextcloud-p () |
| 4431 | "Check, whether the owncloud method is used." | 4431 | "Check, whether the nextcloud method is used." |
| 4432 | (string-equal | 4432 | (string-equal |
| 4433 | "owncloud" (file-remote-p tramp-test-temporary-file-directory 'method))) | 4433 | "nextcloud" (file-remote-p tramp-test-temporary-file-directory 'method))) |
| 4434 | 4434 | ||
| 4435 | (defun tramp--test-rsync-p () | 4435 | (defun tramp--test-rsync-p () |
| 4436 | "Check, whether the rsync method is used. | 4436 | "Check, whether the rsync method is used. |