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

Method glob

core/src/agent_api/direct_tools.rs:91–95  ·  view source on GitHub ↗
(&self, pattern: &str)

Source from the content-addressed store, hash-verified

89 }
90
91 pub(super) async fn glob(&self, pattern: &str) -> Result<Vec<String>> {
92 let args = serde_json::json!({ "pattern": pattern });
93 let result = self.tool_executor.execute("glob", &args).await?;
94 Ok(parse_glob_output(&result.output))
95 }
96
97 pub(super) async fn grep(&self, pattern: &str) -> Result<String> {
98 let args = serde_json::json!({ "pattern": pattern });

Callers 1

executeMethod · 0.45

Calls 2

parse_glob_outputFunction · 0.85
executeMethod · 0.45

Tested by

no test coverage detected