B ´ÊÑaã@sPddlmZmZddlmZddlmZmZGdd„deƒZGdd„deƒZ d S) é)Úabsolute_importÚunicode_literals)Úcontextmanageré)ÚAppDataÚ ContentStorec@sxeZdZdZdZdZdd„ZedƒZdd„Z d d „Z d d „Z d d„Z dd„Z edd„ƒZedd„ƒZdd„Zdd„ZdS)ÚAppDataDisabledzONo application cache available (most likely as we don't have write permissions)TFcCsdS)N©)Úselfr r úG/opt/alt/python37/lib/python3.7/site-packages/virtualenv/app_data/na.pyÚ__init__szAppDataDisabled.__init__zDno app data folder available, probably no write access to the foldercCsdS)z do nothingNr )r r r r ÚcloseszAppDataDisabled.closecCsdS)z do nothingNr )r r r r ÚresetszAppDataDisabled.resetcCstƒS)N)ÚContentStoreNA)r Úpathr r r Úpy_infoszAppDataDisabled.py_infocCstƒS)N)r)r Ú distributionÚfor_py_versionr r r Úembed_update_logsz AppDataDisabled.embed_update_logcCs |j‚dS)N)Úerror)r rZ to_folderr r r ÚextractszAppDataDisabled.extractccs dVdS)z do nothingNr )r rr r r Úlocked"szAppDataDisabled.lockedcCs |j‚dS)N)r)r r r r Úhouse'szAppDataDisabled.housecCs |j‚dS)N)r)r rÚnamer r r Ú wheel_image+szAppDataDisabled.wheel_imagecCsdS)ú Nr )r r r r Ú py_info_clear.szAppDataDisabled.py_info_clearN)Ú__name__Ú __module__Ú __qualname__Ú__doc__Z transientZ can_updater Ú RuntimeErrorrr rrrrrrÚpropertyrrrr r r r rs  rc@s8eZdZdd„Zdd„Zdd„Zdd„Zed d „ƒZd S) rcCsdS)NFr )r r r r Úexists3szContentStoreNA.existscCsdS)rNr )r r r r Úread6szContentStoreNA.readcCsdS)rNr )r Úcontentr r r Úwrite:szContentStoreNA.writecCsdS)rNr )r r r r Úremove=szContentStoreNA.removeccs dVdS)Nr )r r r r r@szContentStoreNA.lockedN) rrrr#r$r&r'rrr r r r r2s rN) Ú __future__rrÚ contextlibrÚbaserrrrr r r r Ús *