package irmin
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=7af11e14d312b9ae340997f8c27907b9fc9a0d19539fb643e1820d5183a76750
sha512=d7b61c6fddab0a8b61efe867b9a0fdc14c01eb1adeda2f5018b8dfee306c8324c77dd648c7cb9860e62a26e224955f9331b49d19cb693ad5d773efc53263d9fd
doc/irmin.mem/Irmin_mem/KV/Tree/Contents/index.html
Module Tree.Contents
Source
Operations on lazy tree contents.
The type of lazy tree contents.
hash t
is the hash of the contents
value returned when t
is force
d successfully.
caching
cache
regulates the caching behaviour regarding the node's internal data which are be lazily loaded from the backend.
cache
defaults to true
which may greatly reduce the IOs and the runtime but may also grealy increase the memory consumption.
cache = false
doesn't replace a call to clear
, it only prevents the storing of new data, it doesn't discard the existing one.
force t
forces evaluation of the lazy content value t
, or returns an error if no such value exists in the underlying repository.
Equivalent to force
, but raises an exception if the lazy content value is not present in the underlying repository.