$darkmode
Elektra 0.11.0
|
A hole is the absence of a key, which has keys below it, e.g. if some/key
is missing in a property file:
some
has a non-leaf value. Another example of a non-leaf value in XML (abc
): <abc>value<def>value2</def></abc>
interpreted by xerces plugin:
Config files ideally do not copy any structure if they only want to set a single key.
Support holes and values for non-leaves in a KeySet if the underlying format allows it.
If the underlying format does not support it and there is also not an obvious way how to circumvent it – e.g., JSON which does not have comments – holes and values in non-leaves can be supported with key names starting with ®elektra.
/some/key
, and later /some/key/enable
gets added. Then it is beneficial if /some/key
still can hold a value.