MCPcopy Create free account
hub / github.com/angular/angular / root_dirs

Method root_dirs

packages/compiler-cli/preprocessor/ng-analyze/src/fs.rs:457–459  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

455
456impl 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) {

Callers

nothing calls this directly

Calls 3

cloneMethod · 0.65
unwrapMethod · 0.65
readMethod · 0.65

Tested by

no test coverage detected