Module nu_command::config[][src]

Modules

path

Structs

LocalConfigDiff
NuConfig
Trusted

Enums

Status

Traits

Conf

Functions

cfg_path_to_scope_tag
config
config_path
convert_toml_value_to_nu_value
default_path
default_path_for
is_file_trusted
last_modified
loadable_cfg_exists_in_dir

Checks whether a local_cfg exists in cfg_dir and returns: Ok(Some(cfg_path)) if cfg exists and is good to load Ok(None) if no cfg exists Err(error) if cfg exits, but is not good to load

read
read_trusted
user_data
value_to_toml_value

Converts a nu_protocol::Value into a toml::Value Will return a Shell Error, if the Nu Value is not a valid top-level TOML Value

write