Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
59
impl 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
67
impl PartialEq for ContextFilePath {
Callers
5
eq
Method · 0.80
remove_paths
Method · 0.80
collect_context_files
Method · 0.80
execute
Method · 0.80
execute
Method · 0.80
Calls
1
as_str
Method · 0.45
Tested by
no test coverage detected