文件操作 - __init__.py
返回文件管理
返回主菜单
删除本文件
文件: /opt/imunify360/venv/lib/python3.11/site-packages/defence360agent/rpc_tools/__init__.py
编辑文件内容
""" RPC building blocks. Use the utils provided by this package whenever you need to extend the RPC client/server functionality (i.e. add a new endpoint). However, new endpoints should not be put in this package to avoid undesirable interdependencies. """ from defence360agent.utils.cli import ERROR, SUCCESS, WARNING from .exceptions import ResponseError, ServiceStateError, SocketError from .lookup import Endpoints, UserType from .utils import is_running from .validate import ValidationError __all__ = [ "ERROR", "SUCCESS", "WARNING", "ResponseError", "ServiceStateError", "SocketError", "Endpoints", "UserType", "is_running", "ValidationError", ]
修改文件时间
将文件时间修改为当前时间的前一年
删除文件