(home: &Path, tracedecay_bin: &str)
| 21 | const NEW_BIN: &str = "/new/bin/tracedecay"; |
| 22 | |
| 23 | fn ctx(home: &Path, tracedecay_bin: &str) -> InstallContext { |
| 24 | InstallContext { |
| 25 | home: home.to_path_buf(), |
| 26 | tracedecay_bin: tracedecay_bin.to_string(), |
| 27 | tool_permissions: tracedecay::agents::expected_tool_perms(), |
| 28 | profile: None, |
| 29 | project_root: None, |
| 30 | dashboard: true, |
| 31 | } |
| 32 | } |
| 33 | |
| 34 | fn ctx_with_project(home: &Path, tracedecay_bin: &str, project_root: &Path) -> InstallContext { |
| 35 | let mut ctx = ctx(home, tracedecay_bin); |
no test coverage detected