Liking cljdoc? Tell your friends :D

cleanx.wipe.util

Shared helpers for wipe modules.

Shared helpers for wipe modules.
raw docstring

abs-pathclj

(abs-path p)

Resolve a path relative to $HOME if not abs-patholute.

Resolve a path relative to $HOME if not abs-patholute.
sourceraw docstring

delete-recursively!clj

(delete-recursively! p)

Delete a path recursively. Returns {:removed n :bytes b}.

Delete a path recursively. Returns {:removed n :bytes b}.
sourceraw docstring

dir-bytesclj

(dir-bytes p)

Recursive byte count of a directory (best effort, symlinks not followed).

Recursive byte count of a directory (best effort, symlinks not followed).
sourceraw docstring

exists?clj

(exists? p)
source

file-bytesclj

(file-bytes p)

Size of a file in bytes. 0 for missing or non-file.

Size of a file in bytes. 0 for missing or non-file.
sourceraw docstring

homeclj

(home)
source

planclj

(plan tool targets preserves notes)

Build a WipePlan from a tool keyword, seq of WipeTargets, preserves, and notes.

Build a WipePlan from a tool keyword, seq of WipeTargets, preserves, and notes.
sourceraw docstring

preserveclj

(preserve tool kind reason p)
source

targetclj

(target tool kind reason p)

Build a WipeTarget. If path doesn't exist, returns nil (skipped).

Build a WipeTarget. If path doesn't exist, returns nil (skipped).
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