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

Method prompts_dir

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

Source from the content-addressed store, hash-verified

234 }
235
236 pub fn prompts_dir(&self) -> Result<PathBuf> {
237 Ok(self.os.env.current_dir()?.join(workspace::PROMPTS_DIR))
238 }
239
240 pub fn mcp_config(&self) -> Result<PathBuf> {
241 Ok(self.os.env.current_dir()?.join(workspace::MCP_CONFIG))

Callers 3

newMethod · 0.80
get_available_namesMethod · 0.80
executeMethod · 0.80

Calls 3

joinMethod · 0.80
current_dirMethod · 0.80
home_dirFunction · 0.70

Tested by

no test coverage detected