(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}
(last-snapshot-file dir)
(prevayler! {:keys [dir initial-state business-fn timestamp-fn]
:or {initial-state {}
timestamp-fn (fn* [] (System/currentTimeMillis))}})
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 |