MCPcopy Create free account
hub / github.com/AI45Lab/Code / add_agent_dir

Method add_agent_dir

core/src/config/loader.rs:495–498  ·  view source on GitHub ↗

Add an agent directory

(mut self, dir: impl Into<PathBuf>)

Source from the content-addressed store, hash-verified

493
494 /// Add an agent directory
495 pub fn add_agent_dir(mut self, dir: impl Into<PathBuf>) -> Self {
496 self.agent_dirs.push(dir.into());
497 self
498 }
499
500 /// Check if any directories are configured
501 pub fn has_directories(&self) -> bool {

Callers 3

test_config_builderFunction · 0.80

Calls

no outgoing calls

Tested by 3

test_config_builderFunction · 0.64