sertit.files.is_writable

is_writable(dir_path: Union[str, cloudpathlib.cloudpath.CloudPath, pathlib.Path])[source]

Determine whether the directory is writeable or not :param dir_path: Directory path :type dir_path: Union[str, CloudPath, Path]

Returns

True if the directory is writable

Return type

bool