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

Method get_path_as_str

crates/chat-cli/src/cli/chat/context.rs:60–64  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

58
59impl ContextFilePath {
60 pub fn get_path_as_str(&self) -> &str {
61 match self {
62 Self::Agent(path) | Self::Session(path) => path.as_str(),
63 }
64 }
65}
66
67impl PartialEq for ContextFilePath {

Callers 5

eqMethod · 0.80
remove_pathsMethod · 0.80
collect_context_filesMethod · 0.80
executeMethod · 0.80
executeMethod · 0.80

Calls 1

as_strMethod · 0.45

Tested by

no test coverage detected