(&self, path: &str, content: &str)
| 23 | |
| 24 | impl MemoryWorkspace { |
| 25 | fn insert(&self, path: &str, content: &str) { |
| 26 | self.files |
| 27 | .write() |
| 28 | .unwrap() |
| 29 | .insert(path.to_string(), content.to_string()); |
| 30 | } |
| 31 | |
| 32 | fn read_raw(&self, path: &str) -> Option<String> { |
| 33 | self.files.read().unwrap().get(path).cloned() |
no test coverage detected