summaryrefslogtreecommitdiff
path: root/doc/design
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-12-13 15:31:45 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-12-13 15:32:06 -0400
commit43cc4f70de576ce155f977fbb993f971e1c4c934 (patch)
treeb3669566d15e7d9e2d8bfc5590113c5dcccf8cf4 /doc/design
parent074466787f0c62262e85eebc215e2004d55e5412 (diff)
rename HAS to CHECKPRESENT for consistency with hook special remote
Diffstat (limited to 'doc/design')
-rw-r--r--doc/design/external_special_remote_protocol.mdwn14
1 files changed, 6 insertions, 8 deletions
diff --git a/doc/design/external_special_remote_protocol.mdwn b/doc/design/external_special_remote_protocol.mdwn
index 7256a90d9..2c3fd2a4e 100644
--- a/doc/design/external_special_remote_protocol.mdwn
+++ b/doc/design/external_special_remote_protocol.mdwn
@@ -96,7 +96,7 @@ send one of the corresponding replies listed in the next section.
should be derived from the Key.
Multiple transfers might be requested by git-annex, but it's fine for the
program to serialize them and only do one at a time.
-* `HAS Key`
+* `CHECKPRESENT Key`
Requests the remote check if a key is present in it.
* `REMOVE Key`
Requests the remote remove a key's contents.
@@ -115,13 +115,13 @@ as it's performing the request.
Indicates the transfer completed successfully.
* `TRANSFER-FAILURE STORE|RETRIEVE Key ErrorMsg`
Indicates the transfer failed.
-* `HAS-SUCCESS Key`
+* `CHECKPRESENT-SUCCESS Key`
Indicates that a key has been positively verified to be present in the
remote.
-* `HAS-FAILURE Key`
+* `CHECKPRESENT-FAILURE Key`
Indicates that a key has been positively verified to not be present in the
remote.
-* `HAS-UNKNOWN Key ErrorMsg`
+* `CHECKPRESENT-UNKNOWN Key ErrorMsg`
Indicates that it is not currently possible to verify if the key is
present in the remote. (Perhaps the remote cannot be contacted.)
* `REMOVE-SUCCESS Key`
@@ -231,9 +231,9 @@ while read line; do
esac
;;
- HAS)
+ CHECKPRESENT)
key="$2"
- echo HAS-UNKNOWN "$key" "not implemented"
+ echo CHECKPRESENT-UNKNOWN "$key" "not implemented"
;;
REMOVE)
key="$2"
@@ -256,5 +256,3 @@ done
remotes can reconnect.
* uuid discovery during initremote.
* Support for splitting files into chunks.
-* Use same verbs as used in special remote interface (instead of different
- verbs used in Types.Remote).