singlestoredb.management.files.FileSpace.is_dir

FileSpace.is_dir(path: str | PathLike[str]) bool

Is the given file path a directory?

Parameters:

path (Path or str) – Path to file object

Return type:

bool