Liking cljdoc? Tell your friends :D

com.blockether.vis.internal.state-file

Read and atomically replace JSON state files.

Read and atomically replace JSON state files.
raw docstring

delete!clj

(delete! file)

Remove a JSON state file. Return true when the file existed.

Remove a JSON state file. Return true when the file existed.
sourceraw docstring

read-jsonclj

(read-json file)

Read JSON with string keys. Return nil when the file is absent.

Read JSON with string keys. Return nil when the file is absent.
sourceraw docstring

write!clj

(write! file value)
(write! file value private?)

Atomically replace a JSON state file. Keep its mode, or use 0600 for a secret.

Atomically replace a JSON state file. Keep its mode, or use 0600 for a secret.
sourceraw docstring

write-with-mode!clj

(write-with-mode! file value private? mode-source)

Atomically write JSON with the mode of mode-source, or 0600 for a secret.

Atomically write JSON with the mode of `mode-source`, or 0600 for a secret.
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