The two files the addon reads and writes: the profiles file and the state file holding the active map.
The two files the addon reads and writes: the profiles file and the state file holding the active map.
(load-state path)Result<{:active .. :current ..}> from the state file at path.
Result<{:active .. :current ..}> from the state file at `path`.
(read-profiles path)Result<profiles-or-nil> from the EDN profiles file at path.
Result<profiles-or-nil> from the EDN profiles file at `path`.
(save-state! path st)Write st to path through a sibling temp file and an atomic move.
Result<path>.
Write `st` to `path` through a sibling temp file and an atomic move. Result<path>.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |