/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/network
NameSizeModeActions
__pycache__/-0755rm
auth.py116520644editdlrm
auth.pyc87730644editdlrm
auth.pyo85540644editdlrm
cache.py23290644editdlrm
cache.pyc36060644editdlrm
cache.pyo35150644editdlrm
download.py51510644editdlrm
download.pyc59490644editdlrm
download.pyo59000644editdlrm
lazy_wheel.py81380644editdlrm
lazy_wheel.pyc102100644editdlrm
lazy_wheel.pyo101450644editdlrm
session.py152080644editdlrm
session.pyc119570644editdlrm
session.pyo119570644editdlrm
utils.py41720644editdlrm
utils.pyc18070644editdlrm
utils.pyo18070644editdlrm
xmlrpc.py18820644editdlrm
xmlrpc.pyc23340644editdlrm
xmlrpc.pyo22960644editdlrm
__init__.py500644editdlrm
__init__.pyc2320644editdlrm
__init__.pyo2320644editdlrm
Edit: /opt/alt/python37/lib/python3.7/site-packages/pip/_internal/network/cache.pyo (3515B)
Ñò j“Rec @sÛdZddkZddklZddklZddklZddkl Z ddk l Z l Z ddk lZdd klZeodd klZlZnd „Zed „ƒZd efd„ƒYZdS(sHTTP cache implementation. iÿÿÿÿN(tcontextmanager(t BaseCache(t FileCache(tResponse(tadjacent_tmp_filetreplace(t ensure_dir(tMYPY_CHECK_RUNNING(tOptionaltIteratorcCst|dtƒS(Nt from_cache(tgetattrtFalse(tresponse((sL/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/network/cache.pyt is_from_cachesccs)y dVWnttfj onXdS(svIf we can't access the cache then we can just skip caching and process requests as if caching wasn't enabled. N(tOSErrortIOError(((sL/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/network/cache.pytsuppressed_cache_errorss t SafeFileCachecBs;eZdZd„Zd„Zd„Zd„Zd„ZRS(sw A file based cache which is safe to use even when the target directory may not be accessible or writable. cCs tt|ƒiƒ||_dS(N(tsuperRt__init__t directory(tselfR((sL/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/network/cache.pyR*scCs<ti|ƒ}t|d ƒ|g}tii|i|ŒS(Ni(RtencodetlisttostpathtjoinR(Rtnamethashedtparts((sL/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/network/cache.pyt_get_cache_path0sc Csd|i|ƒ}tƒiiƒz:t|dƒiiƒ}z|~}|iƒSWdQXWdQXdS(Ntrb(RRt__exit__t __enter__topentread(RtkeyRt_[1]tf((sL/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/network/cache.pytget9s&c CsŠ|i|ƒ}tƒiiƒz`ttii|ƒƒt|ƒiiƒ}z|~}|i |ƒWdQXt |i |ƒWdQXdS(N( RRR!R"RRRtdirnameRtwriteRR(RR%tvalueRR&R'((sL/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/network/cache.pytset@s #cCs;|i|ƒ}tƒiiƒzti|ƒWdQXdS(N(RRR!R"Rtremove(RR%R((sL/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/network/cache.pytdeleteKs(t__name__t __module__t__doc__RRR(R,R.(((sL/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/network/cache.pyR$s    (R1Rt contextlibRtpip._vendor.cachecontrol.cacheRtpip._vendor.cachecontrol.cachesRtpip._vendor.requests.modelsRtpip._internal.utils.filesystemRRtpip._internal.utils.miscRtpip._internal.utils.typingRttypingRR RRR(((sL/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/network/cache.pyts