Module provider

Module provider 

Source

Structs§

WorkspacePathsDefaults
Adapter that maps an existing WorkspacePaths implementation into a ConfigDefaultsProvider.

Traits§

ConfigDefaultsProvider
Provides access to filesystem and syntax defaults used by the configuration loader.

Functions§

current_config_defaults
Returns the currently installed provider as an Arc.
get_config_dir
Get the XDG-compliant configuration directory for vtcode.
get_data_dir
Get the XDG-compliant data directory for vtcode.
install_config_defaults_provider
Installs a new ConfigDefaultsProvider, returning the previous provider.
reset_to_default_config_defaults
Restores the built-in defaults provider.
with_config_defaults
Executes the provided function with the currently installed provider.
with_config_defaults_provider_for_test