Liking cljdoc? Tell your friends :D

memento.mount

Mount points, they serve as glue between a cache that can house entries from multiple functions and the individual functions.

Mount points, they serve as glue between a cache that can house entries from
multiple functions and the individual functions.
raw docstring

*caches*clj

Contains map of mount point to cache instance

Contains map of mount point to cache instance
sourceraw docstring

alter-caches-mappingclj

(alter-caches-mapping tag update-fn & update-fn-args)

Internal function. Modifies entire tagged cache map with the provided function. Applies the function as (fn [caches refs & other-update-fn-args])

Internal function. Modifies entire tagged cache map with the provided function.
Applies the function as (fn [*caches* refs & other-update-fn-args])
sourceraw docstring

assoc-cache-tagsclj

(assoc-cache-tags index cache-tags ref)

Add Mount Point ref to tag index

Add Mount Point ref to tag index
sourceraw docstring

bindclj

(bind fn-or-var mount-conf cache)

Bind a cache to a fn or var. Internal function.

Bind a cache to a fn or var. Internal function.
sourceraw docstring

configuration-propsclj

source

create-mountclj

(create-mount f cache mount-conf)

Create mount record by specified map conf

Create mount record by specified map conf
sourceraw docstring

dissoc-cache-tagsclj

(dissoc-cache-tags index ref)

Remove Mount Point ref from tag index

Remove Mount Point ref from tag index
sourceraw docstring

mount-pointclj

(mount-point obj)

Return active mount point from the object's meta.

Return active mount point from the object's meta.
sourceraw docstring

mounted-cacheclj

(mounted-cache mp)
source

reify-mount-confclj

(reify-mount-conf mount-conf)

Transform user given mount-conf to a canonical form of a map.

Transform user given mount-conf to a canonical form of a map.
sourceraw docstring

tagsclj

Map tag to mount-point

Map tag to mount-point
sourceraw docstring

update-existingclj

(update-existing m ks update-fn)

Convenience function. Updates ks's that are present with the provided update fn.

Convenience function. Updates ks's that are present with the provided update fn.
sourceraw docstring

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

× close