(&self, path: &str, content: &str)
| 60 | |
| 61 | impl TestWorkspaceFs { |
| 62 | fn insert(&self, path: &str, content: &str) { |
| 63 | self.files |
| 64 | .write() |
| 65 | .unwrap() |
| 66 | .insert(path.to_string(), content.to_string()); |
| 67 | } |
| 68 | |
| 69 | fn read_raw(&self, path: &str) -> Option<String> { |
| 70 | self.files.read().unwrap().get(path).cloned() |
no test coverage detected