package goblint
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=af01aac256229f33a90a9fcbfed04b01e3097f154d4d124f006476d6387c6a66
sha512=2a93bfe16881adbc2d8dcbfe38c1e19cd24ca105d8e1eda13d02440f3002874ffe2957dfd937510765233a054a40568b0052db92e31d382a5bd215d1ec12565c
doc/goblint.config/GobConfig/index.html
Module GobConfigSource
Configuration access.
New, untyped, path-based configuration subsystem.
path' ::== \epsilon (* *)
| . <field-name> path' (* field access *)
| [ <index-nr> ] path' (* array index access *)
| [ + ] path' (* cons to array *)
| [ - ] path' (* cons away from array *)
| [ * ] path' (* reset array *)
path ::== path' (* *)
| <field_name> path' (* you can leave out the first dot *)All functions failwith on error. Warnings are generated in verbose mode.
There is a "conf" trace option that traces setting.
include module type of struct include Impl end
Get JSON value at a given path.
Directly set a JSON value; the result must conform to the schema.
Equivalent to get_json "".
Equivalent to set_conf "".
Functions to query conf variable of type int.
Functions to modify conf variables of type int.
Functions to query conf variable of type bool.
Functions to modify conf variables of type bool.
Functions to query conf variable of type string.
Functions to modify conf variables of type string.
Functions to modify conf variables by trying to parse the value. The second argument must be valid Json except single quotes represent double quotes.
Get a list of values
Get a list of strings
Set a list of values
Merge configurations from a JSON object with current.
Check whether modification of configuration is currently allowed.
Run the given computation with modification to configuration disabled.