package inifiles
An ini file parser
Install
dune-project
Dependency
Authors
Maintainers
Sources
2.0.tar.gz
sha512=bf0a06f12e0a65418a0d4f72ee5a99a5f9594c7e43498e82408797bcdc64bb398e380346f7c1e4cbb05570644d8a8be7922801abe9f150fbbcc974eff1911547
doc/inifiles/Inifiles/index.html
Module Inifiles
Source
This library reads ini format property files
raised if you ask for a section which doesn't exist
raised if you ask for an element (attribute) which doesn't exist, or the element fails to match the validation regex
raised if a required section is not specified in the config file
raised if a required element is not specified in the config file
raised if there is a parse error in the ini file it will contain the line number and the name of the file in which the error happened
Source
type attribute_specification = {
atr_name : string;
atr_required : bool;
atr_default : string list option;
atr_validator : Pcre2.regexp option;
}
The type of an attribute/element specification
Source
type section_specification = {
sec_name : string;
sec_required : bool;
sec_attributes : attribute_specification list;
}
The type of a section specification
The type of a secification
send the name of an ini file to the constructor the file must exist, but can be empty
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>