(&self)
| 180 | } |
| 181 | |
| 182 | fn checkpoint_head(&self) -> String { |
| 183 | let bytes = fs::read_to_string(self.root().join(".atomic/bridge/workspace.json")) |
| 184 | .expect("checkpoint"); |
| 185 | serde_json::from_str::<serde_json::Value>(&bytes).expect("checkpoint json")["git_head"] |
| 186 | .as_str() |
| 187 | .expect("head") |
| 188 | .to_string() |
| 189 | } |
| 190 | |
| 191 | fn wip_refs(&self) -> Vec<String> { |
| 192 | git( |
no test coverage detected