is_writable

Contents

is_writable#

is_writable(dir_path: str | CloudPath | Path)[source]#

Deprecated since version 1.30.0: Import it from sertit.path instead of sertit.files

Determine whether the directory is writeable or not.

Parameters:

dir_path (AnyPathStrType) – Directory path

Returns:

True if the directory is writable

Return type:

bool