Liking cljdoc? Tell your friends :D
Clojure only.

pallet.core.file-upload.protocols

Protocols for file upload

Protocols for file upload
raw docstring

FileUploadcljprotocol

upload-fileclj

(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-pathclj

(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
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close