Look up a dir by name.
(&self, path: S)
| 62 | |
| 63 | /// Look up a dir by name. |
| 64 | pub fn get_dir<S: AsRef<Path>>(&self, path: S) -> Option<&'a Dir<'a>> { |
| 65 | self.get_entry(path).and_then(DirEntry::as_dir) |
| 66 | } |
| 67 | |
| 68 | /// Does this directory contain `path`? |
| 69 | pub fn contains<S: AsRef<Path>>(&self, path: S) -> bool { |