MCPcopy Create free account
hub / github.com/Dstack-TEE/dstack / load_config_figment_with_default

Function load_config_figment_with_default

guest-agent/src/config.rs:19–24  ·  view source on GitHub ↗
(
    default_config: &str,
    config_file: Option<&str>,
)

Source from the content-addressed store, hash-verified

17}
18
19pub fn load_config_figment_with_default(
20 default_config: &str,
21 config_file: Option<&str>,
22) -> Figment {
23 load_config("dstack", default_config, config_file, true)
24}
25
26#[derive(Debug, Clone, Copy, Deserialize)]
27pub struct BindAddr {

Callers 2

mainFunction · 0.85
load_config_figmentFunction · 0.85

Calls 1

load_configFunction · 0.50

Tested by

no test coverage detected