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

Method cli_bash_history

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

Source from the content-addressed store, hash-verified

281 }
282
283 pub fn cli_bash_history(&self) -> Result<PathBuf> {
284 Ok(home_dir(self.os)?.join(global::CLI_BASH_HISTORY))
285 }
286
287 pub fn global_context(&self) -> Result<PathBuf> {
288 Ok(home_dir(self.os)?.join(global::GLOBAL_CONTEXT))

Callers 1

rlFunction · 0.80

Calls 2

joinMethod · 0.80
home_dirFunction · 0.70

Tested by

no test coverage detected