Liking cljdoc? Tell your friends :D

house.jux--.prevayler-impl5--


delete-old-snapshots!clj

(delete-old-snapshots! dir & [options])

Deletes all .part files and deletes all but the newest snapshot files. Receives options with the number of snapshot files to keep. Example: {:keep 2}

Deletes all .part files and deletes all but the newest snapshot files. Receives options with the number of snapshot files to keep. Example: {:keep 2}
raw docstring

filename-number-maskclj


journal-endingclj


last-snapshot-fileclj

(last-snapshot-file dir)

part-file-endingclj


prevayler!clj

(prevayler! {:keys [dir initial-state business-fn timestamp-fn]
             :or {initial-state {}
                  timestamp-fn (fn* [] (System/currentTimeMillis))}})

snapshot-endingclj

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