|
|
@ -55,9 +55,12 @@
|
|
|
|
entries)
|
|
|
|
entries)
|
|
|
|
|
|
|
|
|
|
|
|
(defn ensure-dorodata []
|
|
|
|
(defn ensure-dorodata []
|
|
|
|
(-> (file/open dorodata :w)
|
|
|
|
(let [f (file/open dorodata :r)]
|
|
|
|
(file/flush)
|
|
|
|
(if (nil? f)
|
|
|
|
(file/close)))
|
|
|
|
(-> (file/open dorodata :w)
|
|
|
|
|
|
|
|
(file/flush)
|
|
|
|
|
|
|
|
(file/close))
|
|
|
|
|
|
|
|
(file/close f))))
|
|
|
|
|
|
|
|
|
|
|
|
(defn load-entries []
|
|
|
|
(defn load-entries []
|
|
|
|
(let [f (file/open dorodata :r)
|
|
|
|
(let [f (file/open dorodata :r)
|
|
|
|