MCPcopy Index your code
hub / github.com/AI45Lab/Code / exists

Method exists

core/src/subagent.rs:662–665  ·  view source on GitHub ↗

Check if an agent exists

(&self, name: &str)

Source from the content-addressed store, hash-verified

660
661 /// Check if an agent exists
662 pub fn exists(&self, name: &str) -> bool {
663 let agents = read_or_recover(&self.agents);
664 agents.contains_key(name) || agents.contains_key(canonical_agent_name(name))
665 }
666
667 /// Get the number of registered agents
668 pub fn len(&self) -> usize {

Callers 13

install_git_macosFunction · 0.45
install_git_linuxFunction · 0.45
install_git_windowsFunction · 0.45
download_with_curlFunction · 0.45
repo_config_pathFunction · 0.45
load_configFunction · 0.45
_bootstrap_a3s_codeFunction · 0.45
find_venv_pythonFunction · 0.45
mainFunction · 0.45
_bootstrap_a3s_codeFunction · 0.45

Calls 2

read_or_recoverFunction · 0.85
canonical_agent_nameFunction · 0.85

Tested by 6

load_configFunction · 0.36
_bootstrap_a3s_codeFunction · 0.36
find_venv_pythonFunction · 0.36
mainFunction · 0.36