In-memory representation of a configuration DB content.
Use ConfigDb.apply or ConfigDb.open to create an instance of it.
set, setFromString, and remove only change values in memory.
Use save to persist values on disk.
- Companion:
- object
class Object
trait Matchable
class Any
Value members
Concrete methods
Gets an entry.
Gets an entry.
If the value cannot be decoded, an error is returned on the left side of the either.
If the key isn't in DB, None is returned on the right side of the either.
Else, the value is returned wrapped in Some on the right side of the either.
Gets an entry in printable form.
Gets an entry in printable form.
See get for when a left value, or a None on the right, can be returned.
Saves this DB at the config directory of the passed Directories
Saves this DB at the config directory of the passed Directories