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

Method knowledge_bases_dir

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

Source from the content-addressed store, hash-verified

293 }
294
295 pub fn knowledge_bases_dir(&self) -> Result<PathBuf> {
296 Ok(home_dir(self.os)?.join(global::KNOWLEDGE_BASES_DIR))
297 }
298
299 pub async fn ensure_agents_dir(&self) -> Result<PathBuf> {
300 let dir = self.agents_dir()?;

Callers 2

agent_knowledge_dirFunction · 0.80

Calls 2

joinMethod · 0.80
home_dirFunction · 0.70

Tested by 1