Liking cljdoc? Tell your friends :D

pocketenv-io.copy

Handles file and directory transfers between local paths and sandboxes, and between sandboxes. Not part of the public API — use sandbox/upload, sandbox/download, and sandbox/copy-to instead.

Handles file and directory transfers between local paths and sandboxes,
and between sandboxes. Not part of the public API — use sandbox/upload,
sandbox/download, and sandbox/copy-to instead.
raw docstring

compressclj

(compress local-path)

Creates a .tar.gz archive from local-path (file or directory). Returns {:ok java.io.File} or {:error reason}.

Creates a .tar.gz archive from `local-path` (file or directory).
Returns {:ok java.io.File} or {:error reason}.
sourceraw docstring

decompressclj

(decompress archive dest-path)

Extracts a .tar.gz archive file into dest-path. Returns :ok or {:error reason}.

Extracts a .tar.gz `archive` file into `dest-path`.
Returns :ok or {:error reason}.
sourceraw docstring

downloadclj

(download sandbox-id sandbox-path local-path opts)

Push sandbox-path from the sandbox to storage, download it, and extract to local-path.

Push `sandbox-path` from the sandbox to storage, download it, and extract to `local-path`.
sourceraw docstring

storage-urlclj

(storage-url)
source

toclj

(to src-sandbox-id dest-sandbox-id src-path dest-path opts)

Push src-path from src-sandbox-id to storage, then pull into dest-path inside dest-sandbox-id. No local I/O involved.

Push `src-path` from `src-sandbox-id` to storage, then pull into `dest-path` inside `dest-sandbox-id`.
No local I/O involved.
sourceraw docstring

uploadclj

(upload sandbox-id local-path sandbox-path opts)

Compress local-path and upload it to sandbox-path inside the sandbox.

Compress `local-path` and upload it to `sandbox-path` inside the sandbox.
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