View Source Baobab.Persistence (Baobab v0.30.0)

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

Link to this function

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

View Source

Interact with a Baobab persistence mechanism

Actions closely mirror the underlying dets at present

Link to this function

compact(author, log_id, clump_id)

View Source
Link to this function

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

View Source

Deal with the peristed bamboo content

Link to this function

content_hash(clump_id \\ "default")

View Source

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.

Link to this function

current_stored_info(clump_id \\ "default")

View Source

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

Link to this function

current_value(clump_id \\ "default")

View Source

Retrieve the current value of the :content store.