(home: &Path)
| 11 | // --------------------------------------------------------------------------- |
| 12 | |
| 13 | fn make_ctx(home: &Path) -> InstallContext { |
| 14 | InstallContext { |
| 15 | home: home.to_path_buf(), |
| 16 | tracedecay_bin: "/usr/local/bin/tracedecay".to_string(), |
| 17 | tool_permissions: expected_tool_perms(), |
| 18 | profile: None, |
| 19 | project_root: None, |
| 20 | dashboard: true, |
| 21 | } |
| 22 | } |
| 23 | |
| 24 | fn read_json(path: &Path) -> serde_json::Value { |
| 25 | let contents = std::fs::read_to_string(path).unwrap(); |
no test coverage detected