(&self)
| 455 | |
| 456 | impl crate::resource_loader::ResourceResolverFs for OverlayFileSystem { |
| 457 | fn root_dirs(&self) -> Vec<PathBuf> { |
| 458 | self.root_dirs.read().unwrap().clone() |
| 459 | } |
| 460 | |
| 461 | fn resolve_root_dirs_backing_path(&self, path: &Path) -> Option<PathBuf> { |
| 462 | if self.root_dirs.read().unwrap().len() <= 1 || self.exists_raw(path) { |