Crate pacdef_core

source ·
Expand description

This library contains all logic that happens in pacdef under the hood.

Modules

  • All functions related to pacdef’s internal paths.

Macros

  • Used to implement parts of the Backend trait that should not change between the actual backends (boilerplate).

Structs

  • Config for the program, as listed in $XDG_CONFIG_HOME/pacdef/pacdef.yaml.
  • Representation of a group file, composed of a name (file name from which it was read), the sections in the file, and the absolute path of the original file.
  • Most data that is required during runtime of the program.

Enums

  • Error types for pacdef.

Functions

  • Get and parse the CLI arguments.