文件操作 - guard.py
返回文件管理
返回主菜单
删除本文件
文件: /usr/lib/python3/dist-packages/twisted/web/guard.py
编辑文件内容
# -*- test-case-name: twisted.web.test.test_httpauth -*- # Copyright (c) Twisted Matrix Laboratories. # See LICENSE for details. """ Resource traversal integration with L{twisted.cred} to allow for authentication and authorization of HTTP requests. """ from twisted.web._auth.basic import BasicCredentialFactory from twisted.web._auth.digest import DigestCredentialFactory # Expose HTTP authentication classes here. from twisted.web._auth.wrapper import HTTPAuthSessionWrapper __all__ = [ "HTTPAuthSessionWrapper", "BasicCredentialFactory", "DigestCredentialFactory", ]
修改文件时间
将文件时间修改为当前时间的前一年
删除文件