Omod_support.Conf
Omod configuration.
val v :
?cache:Omod.fpath ->
?libdir:Omod.fpath ->
unit ->
(t, string) Stdlib.result
v ~libdir ~cache ()
is a configuration with given cache
and libdir
. If unspecified they are discovered.
val cache : t -> Omod.fpath
cache c
is c
's cache directory.
val libdir : t -> Omod.fpath
libdir c
is c
's library directory.
val pp : Stdlib.Format.formatter -> t -> unit
pp
formats configurations.
cache_env
is the environment variable that can be used to define an cache directory.