Module config
Source - ConfigTree
- clear
- Clears all values from a key.
- clear_all
- Clears all configuratations.
- clear_value
- Clear a single value from a list.
Used for removing one item in an apt configuruation list
- dump
- Returns a string dump of configuration options separated by
\n - exists
- Simply check if a key exists.
- find
- Find a key and return it’s value as a string.
- find_bool
- Same as find, but for boolean values.
- find_dir
- Find a directory and return it’s value as a string.
- find_file
- Find a file and return it’s value as a string.
- find_int
- Same as find, but for i32 values.
- find_vector
- Return a vector for an Apt configuration list.
- get_architectures
- Return a vector of supported architectures on this system.
The main architecture is the first in the list.
- init_config
- init the config. This must occur before creating the cache.
- init_system
- init the system. This must occur before creating the cache.
- root_tree⚠
- set
- Set the given key to the specified value.
- tree⚠