Expand description
Home, config, and version resolution for vs.
Structs§
- AppConfig
- Global configuration file for
vs. - Cache
Config - Cache configuration written to
config.yaml. - Home
Layout - The active home directory plus migration candidates.
- Legacy
Version File Config - Legacy version file configuration written to
config.yaml. - Proxy
Config - Proxy configuration written to
config.yaml. - Registry
Config - Registry configuration written to
config.yaml. - Resolved
Tool Version - Source metadata for a resolved tool version.
- Storage
Config - Storage configuration written to
config.yaml. - Tool
Versions - Tool versions written in TOML configuration files.
Enums§
- Config
Error - Errors returned by configuration services.
- Scope
- Resolution scope for a tool version.
Functions§
- app_
config_ to_ value - Converts an application config to a YAML value for debugging.
- find_
legacy_ file - Finds the nearest legacy file in the directory hierarchy.
- find_
project_ file - Finds the nearest project config file, walking upwards from the current directory.
- flatten_
app_ config - Lists user-visible configuration values as strings.
- global_
tools_ file - Returns the canonical global tools file path.
- parse_
legacy_ versions - Parses the contents of a supported legacy file.
- preferred_
project_ file - Returns the preferred project config path for writes.
- read_
app_ config - Reads
config.yamlfrom the active home. - read_
legacy_ versions - Reads a legacy version file into the shared tool model.
- read_
tool_ versions - Reads a TOML tool file.
- resolve_
home - Resolves the active
vshome directory from the process environment. - resolve_
home_ with - Resolves the active
vshome directory using explicit inputs. - resolve_
tool_ version - Resolves a tool version using
Project > Session > Global > Systemprecedence. - session_
tools_ file - Returns the canonical session tools file path.
- set_
app_ config_ value - Sets a top-level config value by key.
- supported_
legacy_ files - Supported legacy file names.
- unset_
app_ config_ value - Unsets a top-level config value by key.
- write_
app_ config - Writes
config.yamlto the active home. - write_
tool_ versions - Writes a TOML tool file.