(data store)
Return the atom containing the store data.
Return the atom containing the store data.
(init-plugins! store plugins)
Add plugin information to the store and initialize the plugins. This may modify the store.
Add plugin information to the store and initialize the plugins. This may modify the store.
(init-store! base-dir name)
(init-store! base-dir name init-data)
Initialize a store with data from the directory. If the directory is missing, it will be created and initialized with the given init-data, or an empty map if init-data is omitted.
Initialize a store with data from the directory. If the directory is missing, it will be created and initialized with the given init-data, or an empty map if init-data is omitted.
(write-store! {:keys [loc-info data plugins] :as store})
Write the store data to a file. Invoke the plugins' write methods on the store, if any.
Write the store data to a file. Invoke the plugins' write methods on the store, if any.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close