function
exists
exists(path: String) -> Bool
Return True if path exists.
Args:
- path (
String
): The path to the directory.
Returns:
Returns True if the path exists and is not a broken symbolic link.
exists[pathlike: PathLike](path: pathlike) -> Bool
Return True if path exists.
Parameters:
- pathlike (
PathLike
): The a type conforming to the os.PathLike trait.
Args:
- path (
pathlike
): The path to the directory.
Returns:
Returns True if the path exists and is not a broken symbolic link.