Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aws/amazon-q-developer-cli
/ global_context
Method
global_context
crates/chat-cli/src/util/paths.rs:287–289 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
285
}
286
287
pub fn global_context(&self) -> Result<PathBuf> {
288
Ok(home_dir(self.os)?.join(global::GLOBAL_CONTEXT))
289
}
290
291
pub fn profiles_dir(&self) -> Result<PathBuf> {
292
Ok(home_dir(self.os)?.join(global::PROFILES_DIR))
Callers
1
migrate
Function · 0.80
Calls
2
join
Method · 0.80
home_dir
Function · 0.70
Tested by
no test coverage detected