lookup_dir#
- barecat.Index.lookup_dir(dirpath)[source]#
Look up a directory by its path.
- Parameters:
dirpath (str) – Path of the directory.
- Returns:
The directory info object.
- Raises:
FileNotFoundBarecatError – If the directory is not found.
- Return type:
barecat.core.types.BarecatDirInfo