MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / validate_codex_automation_project_path

Function validate_codex_automation_project_path

src/agent_cmd.rs:124–135  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

122}
123
124fn validate_codex_automation_project_path() -> tracedecay::errors::Result<PathBuf> {
125 let project_path =
126 std::env::current_dir().map_err(|e| tracedecay::errors::TraceDecayError::Config {
127 message: format!("could not determine current project directory: {e}"),
128 })?;
129 std::fs::canonicalize(&project_path).map_err(|e| tracedecay::errors::TraceDecayError::Config {
130 message: format!(
131 "could not canonicalize project directory {}: {e}",
132 project_path.display()
133 ),
134 })
135}
136
137async fn install_codex_daemon_automation(
138 project_path: &Path,

Callers 1

handle_install_commandFunction · 0.85

Calls 1

canonicalizeFunction · 0.85

Tested by

no test coverage detected