MCPcopy 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

migrateFunction · 0.80

Calls 2

joinMethod · 0.80
home_dirFunction · 0.70

Tested by

no test coverage detected