(&self, containing_file: String, url: String)
| 158 | } |
| 159 | |
| 160 | pub fn read_resource(&self, containing_file: String, url: String) -> Option<String> { |
| 161 | let res = self.analyzer.read_resource_core(containing_file, url)?; |
| 162 | serde_json::to_string(&res).ok() |
| 163 | } |
| 164 | |
| 165 | pub fn canonical_paths(&self, paths_json: &str) -> Result<String, String> { |
| 166 | let paths: Vec<String> = serde_json::from_str(paths_json).map_err(|e| e.to_string())?; |
nothing calls this directly
no test coverage detected