refactor ExportActions
This will allow disabling exports for remotes that are not configured to allow them. Also, exportSupported will be useful for the external special remote to probe. This commit was supported by the NSF-funded DataLad project
This commit is contained in:
parent
5483ea90ec
commit
a4328b49d2
20 changed files with 143 additions and 149 deletions
|
@ -83,6 +83,10 @@ the [[external_special_remote_protocol]].
|
|||
|
||||
Here's the changes to the latter:
|
||||
|
||||
* `EXPORTSUPPORTED`
|
||||
Used to check if a special remote supports exports. The remote
|
||||
responds with either `EXPORTSUPPORTED-SUCCESS` or
|
||||
`EXPORTSUPPORTED-FAILURE`
|
||||
* `EXPORT Name`
|
||||
Comes immediately before each of the following requests,
|
||||
specifying the name of the exported file. It will be in the form
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue