lookup_dir#
- barecat.Index.lookup_dir(dirpath)#
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: