Module pacaptr::config

source ·
Expand description

APIs for reading pacaptr configurations from the filesystem.

I decided not to trash user’s $HOME without their permission, so:

  • If the user hasn’t yet specified any path to look at, we will look for the config file in the default path.
  • If the config file is not present anyway, a default one will be loaded with Default::default, and no files will be written.
  • Any config item can be overridden by the corresponding PACAPTR_* environment variable. For example, PACAPTR_NEEDED=false is prioritized over needed = true in pacaptr.toml.

Structs§

  • Configurations that may vary when running the package manager.

Constants§