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