Protocols for file upload
Protocols for file upload
(upload-file _ session local-path target-path action-options)
Upload a file to the target-path, and return any script needed to be run on the node to get the file into place.
file-options is a map of options as passed to remote-file, for file ownership, permissions, etc.
action-options can contain a :sudo-user, specify the user to install the file as.
Upload a file to the target-path, and return any script needed to be run on the node to get the file into place. file-options is a map of options as passed to remote-file, for file ownership, permissions, etc. action-options can contain a :sudo-user, specify the user to install the file as.
(upload-file-path _ session target-path action-options)
Return the path to which upload-file would upload a file for target-path
Return the path to which upload-file would upload a file for target-path
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |