package omod
Lookup and load installed OCaml modules
Install
Dune Dependency
Authors
Maintainers
Sources
omod-0.0.3.tbz
sha512=4f53b8cdd054dc1a6813427452a91294e0bbcfefe948fc1caec47be136dbcecf13112bf2b620fa2f667592b04b28df74e3bf012ea0fb0038c1da4217155ca626
doc/omod.support/Omod_support/Cache/index.html
Module Omod_support.Cache
Omod cache.
val file : Conf.t -> Omod.fpath
file conf
is the cache file in configuration conf
.
read conf
is the cache of configuration conf
(if any). If force
is true
and a cache read error occurs, it is logged on err
and Ok None
is returned.
write conf c
writes the cache c
of configuration conf
.
val get :
?err:Log.t ->
?note:Log.t ->
?progress:bool ->
Conf.t ->
force:bool ->
trust:bool ->
(t, string) result
get ~err ~note ~progress conf ~force ~trust
get the cache of configuration conf
, forcing it if force
is true
and making sure it is fresh unless trust
is true
, using err
to report errors, note
to report indexing operations (defaults to Log.nil
) and progress
to indicate if progress should be reported on note
(defaults to false
).
status ~err conf c
is the status of cache c
of configuration conf
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>