is_writable#

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

Determine whether the directory is writeable or not.

Parameters

dir_path (Union[str, CloudPath, Path]) – Directory path

Returns

True if the directory is writable

Return type

bool