Baobab.Persistence (Baobab v0.34.0)

View Source

Functions related to Baobab values persistence

Summary

Functions

Interact with a Baobab persistence mechanism

Deal with the peristed bamboo content

Retrieve the current hash of the :content store.

Retrieve the current stored info which is the max entry for each stored log

Retrieve the current value of the :content store.

Functions

action(which, clump_id, action, value \\ nil)

Interact with a Baobab persistence mechanism

Actions closely mirror the underlying dets at present

compact(author, log_id, clump_id)

content(subject, action, entry_id, clump_id, addlval \\ nil)

Deal with the peristed bamboo content

content_hash(clump_id \\ "default")

Retrieve the current hash of the :content store.

No information should be gleaned from any particular hash beyond whether the contents have changed since a previous check.

current_stored_info(clump_id \\ "default")

Retrieve the current stored info which is the max entry for each stored log

current_value(clump_id \\ "default")

Retrieve the current value of the :content store.