euporie.core.convert.mime.get_format

euporie.core.convert.mime.get_format(path: Path | str, default: str = '') str

Attempt to guess the format of a path.