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

Method get_history_path

crates/chat-cli/src/cli/chat/prompt.rs:345–347  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

343 }
344
345 pub fn get_history_path(&self) -> PathBuf {
346 self.history_path.clone()
347 }
348
349 /// Finds the best hint for the current input using rustyline's history
350 fn find_hint(&self, line: &str, ctx: &Context<'_>) -> Option<String> {

Callers 2

save_historyMethod · 0.80
rlFunction · 0.80

Calls 1

cloneMethod · 0.45

Tested by

no test coverage detected