文件操作 - __init__.pyi
返回文件管理
返回主菜单
删除本文件
文件: /usr/lib/python3/dist-packages/apt_inst-stubs/__init__.pyi
编辑文件内容
from typing import * class ArArchive: def extract(self) -> None: ... class DebFile: def __init__(self, file: object) -> None: ... control: TarFile data: TarFile class TarMember: def isblk(self) -> bool: ... def ischr(self) -> bool: ... def isdev(self) -> bool: ... def isdir(self) -> bool: ... def isfifo(self) -> bool: ... def isfile(self) -> bool: ... def islnk(self) -> bool: ... def isreg(self) -> bool: ... def issym(self) -> bool: ... gid: int linkname: str major: int minor: int mode: int mtime: int name: str size: int uid: int class TarFile: def extractall(self, rootdir: str = '') -> None: ... def extractdata(self, member: str) -> bytes: ... def go(self, callback: Callable[[TarMember, bytes], None], member : str = '') -> None: ...
修改文件时间
将文件时间修改为当前时间的前一年
删除文件