Expand description
Project config resolution owned by the engine boundary.
Structs§
- Config
Chain Snapshot - The bytes of a config file and of each local file of its
extendschain. The loader reads them before and after it parses the file, so a long-lived caller can see that the parsed config is out of date. - Config
File - The config file of a project, before resolution.
- Config
File Options - The options of
load_config_file. - Production
Flags - The production flags of a config load without a resolved run: the global
--productionoverride and one override per analysis (--production-dead-code,--production-health,--production-dupes). - Production
Modes - The production mode of each analysis of one run.
- Resolve
Options - The run settings that resolution records on the config.
Enums§
- Config
Load Error - The error of
load_config_file.
Functions§
- find_
config_ file - The config file that discovery finds from
rootup to the repository root, without a load. A caller that only checks whether a project has a config file, or that writes to the config file, calls this function. - load_
config_ file - Load the config file of a project: the file at
config_path, else the first config file that discovery finds fromrootup to the repository root. A project without a config file gets the default config. - register_
tracked_ link_ probe - Give config discovery the git probe for a config file link out of the project: discovery allows such a link when git does not track it. A host calls it at startup, so that each config discovery, also one outside the project load, gets the same answer.