Liking cljdoc? Tell your friends :D

konserve.filestore

clj

Bare file-system implementation.

Bare file-system implementation.
raw docstring

check-and-create-foldercljs

(check-and-create-folder path)

Creates Folder with given path.

Creates Folder with given path.
sourceraw docstring

delete-entrycljs

(delete-entry folder file-name res-ch)
source

delete-storeclj/s

(delete-store folder)

Permanently deletes the folder of the store with all files.

Permanently deletes the folder of the store with all files.
source (clj)source (cljs)raw docstring

filestore-schema-updateclj

(filestore-schema-update {:keys [folder serializer read-handlers] :as store})

Lists all keys in this binary store. This operation does not block concurrent operations and might return an outdated key set. Keys of binary blobs are not tracked atm.

Lists all keys in this binary store. This operation *does not block concurrent operations* and might return an outdated key set. Keys of binary blobs are not tracked atm.
sourceraw docstring

FileSystemNodejsStorecljs

source

fscljs

source

list-keysclj/s≠

clj
(list-keys {:keys [folder serializer read-handlers] :as store})

Lists all keys in this binary store. This operation does not block concurrent operations and might return an outdated key set. Keys of binary blobs are not tracked atm.

Lists all keys in this binary store. This operation *does not block concurrent operations* and might return an outdated key set. Keys of binary blobs are not tracked atm.
cljs
(list-keys {:keys [folder serializer]} read-handlers)
source (clj)source (cljs)raw docstring

new-fs-storeclj/s≠

clj
(new-fs-store path
              &
              {:keys [serializer read-handlers write-handlers config]
               :or {serializer (ser/fressian-serializer)
                    read-handlers (atom {})
                    write-handlers (atom {})
                    config {:fsync true}}})
cljs
(new-fs-store path
              &
              {:keys [read-handlers write-handlers serializer config]
               :or {read-handlers (atom {})
                    write-handlers (atom {})
                    serializer (ser/fressian-serializer)
                    config {:fsync true}}})

Filestore contains a Key and a Data Folder

Filestore contains a Key and a Data Folder
source (clj)source (cljs)raw docstring

read-binarycljs

(read-binary folder key locked-cb)

return read stream

return read stream
sourceraw docstring

read-edncljs

(read-edn serializer read-handlers path key)
source

read-edn-keycljs

(read-edn-key serializer read-handlers path key)
source

streamcljs

source

write-binarycljs

(write-binary folder key input)
source

write-edncljs

(write-edn serializer write-handlers read-handlers folder key up-fn)
source

write-edn-keycljs

(write-edn-key serializer write-handlers folder {:keys [key] :as meta})
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close