/usr/lib/python3/dist-packages/certbot/compat/__pycache__
NameSizeModeActions
filesystem.cpython-310.pyc169740644editdlrm
misc.cpython-310.pyc59270644editdlrm
os.cpython-310.pyc36450644editdlrm
_path.cpython-310.pyc7900644editdlrm
__init__.cpython-310.pyc4040644editdlrm
Edit: /usr/lib/python3/dist-packages/certbot/compat/__pycache__/os.cpython-310.pyc (3645B)
o 6a'%@sdZddlmZddlTddlZddlZejeZ ej ddks6e eD]Z ee e s5ee e eee q%ddlmZeejed<[ [[d d Zd d Zd dZddZddZddZddZddZddZddZddZdd ZdS)!a This compat modules is a wrapper of the core os module that forbids usage of specific operations (e.g. chown, chmod, getuid) that would be harmful to the Windows file security model of Certbot. This module is intended to replace standard os module throughout certbot projects (except acme). This module has the same API as the os module in the Python standard library except for the functions defined below. isort:skip_file )absolute_import)*N CERTBOT_DOCS1)_pathz.pathcOtd)Method os.chmod() is forbiddenzPUsage of os.chmod() is forbidden. Use certbot.compat.filesystem.chmod() instead. RuntimeError unused_args unused_kwargsr3/usr/lib/python3/dist-packages/certbot/compat/os.pychmodBrcOr)rzPUsage of os.umask() is forbidden. Use certbot.compat.filesystem.umask() instead.r r rrrumaskLrrcOr)zMethod os.chown() is forbiddenzgUsage of os.chown() is forbidden.Use certbot.compat.filesystem.copy_ownership_and_apply_mode() instead.r r rrrchownUrrcOr)zMethod os.open() is forbiddenzNUsage of os.open() is forbidden. Use certbot.compat.filesystem.open() instead.r r rrropen`rrcOr)zMethod os.mkdir() is forbiddenzPUsage of os.mkdir() is forbidden. Use certbot.compat.filesystem.mkdir() instead.r r rrrmkdirhrrcOr)z!Method os.makedirs() is forbiddenzVUsage of os.makedirs() is forbidden. Use certbot.compat.filesystem.makedirs() instead.r r rrrmakedirssrrcOr)zMethod os.rename() is forbiddenzSUsage of os.rename() is forbidden. Use certbot.compat.filesystem.replace() instead.r r rrrrename{rrcOr)z Method os.replace() is forbiddenzTUsage of os.replace() is forbidden. Use certbot.compat.filesystem.replace() instead.r r rrrreplacerrcOr)zMethod os.access() is forbiddenzUsage of os.access() is forbidden. Use certbot.compat.filesystem.check_mode() or certbot.compat.filesystem.is_executable() instead.r r rrraccessrrcOr)Method os.stat() is forbiddenzUsage of os.stat() is forbidden. Use certbot.compat.filesystem functions instead (eg. has_min_permissions, has_same_ownership).r r rrrstatrrcOr)rzUsage of os.fstat() is forbidden. Use certbot.compat.filesystem functions instead (eg. has_min_permissions, has_same_ownership).r r rrrfstatrrcOr)z!Method os.readlink() is forbiddenzVUsage of os.readlink() is forbidden. Use certbot.compat.filesystem.realpath() instead.r r rrrreadlinkrr) __doc__ __future__rosstd_ossysstd_sysmodules__name__ ourselvesenvirongetdir attributehasattrsetattrgetattrcertbot.compatrpathrrrrrrrrrrrrrrrrs4