MCPcopy Create free account
hub / github.com/base/base / new

Method new

crates/builder/core/src/test_utils/instance.rs:136–138  ·  view source on GitHub ↗

Creates a new builder with the given builder configuration, the default node configuration, and no extensions.

(builder_config: BuilderConfig)

Source from the content-addressed store, hash-verified

134 /// Creates a new builder with the given builder configuration, the default node configuration,
135 /// and no extensions.
136 pub fn new(builder_config: BuilderConfig) -> Self {
137 Self { builder_config, node_config: default_node_config(), extensions: Vec::new() }
138 }
139}
140
141impl LocalInstanceBuilder {

Callers

nothing calls this directly

Calls 5

default_node_configFunction · 0.85
newFunction · 0.50
buildMethod · 0.45
cloneMethod · 0.45
splitMethod · 0.45

Tested by

no test coverage detected