package omod
Lookup and load installed OCaml modules
Install
Dune Dependency
Authors
Maintainers
Sources
omod-0.0.4.tbz
sha512=cab9e8ab6ca6e836fdaa3dcf9552d31e4de2bf069fcab096c1565d204ff91fc3516cd017a13702d749580bd3563c462db3277ab036cfc5d3cb9703a08ddbb927
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)"
>