Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_dir
Function · 0.80
test_knowledge_bases_dir_structure
Function · 0.80
Calls
2
join
Method · 0.80
home_dir
Function · 0.70
Tested by
1
test_knowledge_bases_dir_structure
Function · 0.64