MCPcopy Create free account
hub / github.com/aws/amazon-q-developer-cli / agents_dir

Method agents_dir

crates/chat-cli/src/util/paths.rs:232–234  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

230
231impl<'a> WorkspacePaths<'a> {
232 pub fn agents_dir(&self) -> Result<PathBuf> {
233 Ok(self.os.env.current_dir()?.join(workspace::AGENTS_DIR))
234 }
235
236 pub fn prompts_dir(&self) -> Result<PathBuf> {
237 Ok(self.os.env.current_dir()?.join(workspace::PROMPTS_DIR))

Callers 8

get_mcp_server_configsFunction · 0.80
save_agent_configFunction · 0.80
executeMethod · 0.80
get_agent_by_nameMethod · 0.80
loadMethod · 0.80
create_agentFunction · 0.80
migrateFunction · 0.80
ensure_agents_dirMethod · 0.80

Calls 3

joinMethod · 0.80
current_dirMethod · 0.80
home_dirFunction · 0.70

Tested by

no test coverage detected