(&self)
| 171 | } |
| 172 | |
| 173 | fn checkpoint_view(&self) -> String { |
| 174 | let bytes = fs::read_to_string(self.root().join(".atomic/bridge/workspace.json")) |
| 175 | .expect("checkpoint"); |
| 176 | serde_json::from_str::<serde_json::Value>(&bytes).expect("checkpoint json")["view"] |
| 177 | .as_str() |
| 178 | .expect("view") |
| 179 | .to_string() |
| 180 | } |
| 181 | |
| 182 | fn checkpoint_head(&self) -> String { |
| 183 | let bytes = fs::read_to_string(self.root().join(".atomic/bridge/workspace.json")) |
no test coverage detected