is_writable#

is_writable(dir_path: Union[str, CloudPath, 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