Liking cljdoc? Tell your friends :D

wagoe.external.core.ftps

Pure functions for the FTPS file source: file selection, which failures to retry and error values. No I/O.

Pure functions for the FTPS file source: file selection, which failures to
retry and error values. No I/O.
raw docstring

ftps-errorclj

(ftps-error {:keys [host operation attempts cause reply-code]})

The :error map of a failed operation, naming host, attempts and cause.

The :error map of a failed operation, naming host, attempts and cause.
sourceraw docstring

remote-pathclj

(remote-path dir file-name)

Join a directory and a file name with exactly one slash.

Join a directory and a file name with exactly one slash.
sourceraw docstring

retryable?clj

(retryable? {:keys [reply-code certificate?]})

Whether a failed attempt is worth repeating. A 5xx reply (rejected credentials, missing file) and an untrusted certificate are permanent; a 4xx reply and an I/O failure without a reply (DNS, refused connection, TLS handshake or read timeout) are transient.

Args: failure - {:reply-code int-or-nil, :certificate? boolean}

Whether a failed attempt is worth repeating. A 5xx reply (rejected
 credentials, missing file) and an untrusted certificate are permanent; a 4xx
 reply and an I/O failure without a reply (DNS, refused connection, TLS
 handshake or read timeout) are transient.

Args:
  failure - {:reply-code int-or-nil, :certificate? boolean}
sourceraw docstring

select-filesclj

(select-files files {:keys [match skip]})

Files whose :name matches :match and is not in :skip, sorted by name.

Args: files - seq of RemoteFile maps opts - {:match string|regex|coll, :skip coll of names already processed}

Files whose :name matches :match and is not in :skip, sorted by name.

Args:
  files - seq of RemoteFile maps
  opts  - {:match string|regex|coll, :skip coll of names already processed}
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close