(check-and-create-backing-store base)
Helper Function to Check if Base is not writable
Helper Function to Check if Base is not writable
(check-and-create-backing-store-async base)
Helper Function to Check if Base is not writable
Helper Function to Check if Base is not writable
(connect-fs-store
path
&
{:keys [detect-old-file-schema? ephemeral? config]
:or {detect-old-file-schema? false
ephemeral? (fn [pathstr]
(some (fn* [p1__39290#] (re-matches p1__39290# pathstr))
[#"\.nfs.*"]))}
:as params})
Create Filestore in given path. Optional serializer, read-handlers, write-handlers, buffer-size and config (for fsync) can be changed. Defaults are {:base path :serializer fressian-serializer :read-handlers empty :write-handlers empty :buffer-size 1 MB :config config}
Create Filestore in given path. Optional serializer, read-handlers, write-handlers, buffer-size and config (for fsync) can be changed. Defaults are {:base path :serializer fressian-serializer :read-handlers empty :write-handlers empty :buffer-size 1 MB :config config}
(count-konserve-keys dir)
Counts konserve files in the directory.
Counts konserve files in the directory.
(delete-store base)
Permanently deletes the base of the store with all files.
Permanently deletes the base of the store with all files.
(delete-store-async base)
Permanently deletes the base of the store with all files.
Permanently deletes the base of the store with all files.
(list-files directory)
(list-files directory ephemeral?)
Lists all files on the first level of a directory.
Lists all files on the first level of a directory.
(open-async-file-channel path)
(open-async-file-channel path {flags :flags})
(store-exists? base)
Check if underlying store already exists.
Check if underlying store already exists.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close