Liking cljdoc? Tell your friends :D

cleanx.wipe.backup

Snapshot wipe targets into a tar.zst archive before deletion.

Snapshot wipe targets into a tar.zst archive before deletion.
raw docstring

default-backup-dirclj

(default-backup-dir)
source

snapshot!clj

(snapshot! tool
           paths
           {:keys [backup-dir] :or {backup-dir (default-backup-dir)}})

Create a tar.zst archive at backup-dir/cleanx-<tool>-<ts>.tar.zst containing every path in paths. Returns Result{:ok {:archive :bytes}}.

Uses GNU tar + zstd via /usr/bin/tar, must be on PATH.

Create a tar.zst archive at backup-dir/cleanx-<tool>-<ts>.tar.zst
containing every path in paths. Returns Result{:ok {:archive :bytes}}.

Uses GNU tar + zstd via /usr/bin/tar, must be on PATH.
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