文件操作 - __init__.cpython-310.pyc
返回文件管理
返回主菜单
删除本文件
文件: /usr/lib/python3/dist-packages/cloudinit/cmd/devel/__pycache__/__init__.cpython-310.pyc
编辑文件内容
o x[h� � @ s4 d Z ddlmZ ddlmZ d dedefdd�Zd S )z7Common cloud-init devel command line utility functions.� )�Paths)�Init� �fetch_existing_datasource�returnc C s( t g d�}| r |j| d� |�� |jS )a� Return a Paths object based on the system configuration on disk. :param fetch_existing_datasource: String one of check or trust. Whether to load the pickled datasource before returning Paths. This is necessary when using instance paths via Paths.get_ipath method which are only known from the instance-id metadata in the detected datasource. :raises: DataSourceNotFoundException when no datasource cache exists. )�ds_deps)�existing)r �fetch�read_cfg�paths)r �init� r �>/usr/lib/python3/dist-packages/cloudinit/cmd/devel/__init__.py�read_cfg_paths s r N)r )�__doc__�cloudinit.helpersr �cloudinit.stagesr �strr r r r r �<module> s
修改文件时间
将文件时间修改为当前时间的前一年
删除文件