\hdZddlmZddlZddlmZmZddlmZddl m Z e r ddl Z e jdk\rddl m Z nddlm Z Gd d eZy) z Base API.) annotationsN)ABCabstractmethod)Path) TYPE_CHECKING))LiteralceZdZdZ d" d#dZd$dZd%dZeed&dZ eed&dZ eed&dZ eed&d Z eed&d Z eed&d Zeed&d Zeed&d Zeed&dZeed&dZeed&dZeed&dZeed&dZeed&dZed'dZed'dZed'dZed'dZed'dZed'dZed'dZed'dZed'dZed'dZ ed'dZ!ed'dZ"ed'd Z#ed'd!Z$y)(PlatformDirsABCz-Abstract base class for platform directories.Ncn||_||_ ||_ ||_ ||_ ||_||_y)aX Create a new platform directory. :param appname: See `appname`. :param appauthor: See `appauthor`. :param version: See `version`. :param roaming: See `roaming`. :param multipath: See `multipath`. :param opinion: See `opinion`. :param ensure_exists: See `ensure_exists`. N)appname appauthorversionroaming multipathopinion ensure_exists)selfrrrrrrrs _/root/niggaflix-v3/playground/venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/api.py__init__zPlatformDirsABC.__init__sW* "     #  * c&t|dd}|jrB|j|j|jr|j|jt j j |dg|}|j||S)Nr)listrappendrospathjoin_optionally_create_directory)rbaseparamsrs r_append_app_name_and_versionz,PlatformDirsABC._append_app_name_and_versionGsmd12h << MM$,, '|| dll+ww||DG-f- ))$/ rcV|jrt|jddyy)NT)parentsexist_ok)rrmkdir)rrs rr z,PlatformDirsABC._optionally_create_directoryQs'    J  TD  9 rcy)z(:return: data directory tied to the userNrs r user_data_dirzPlatformDirsABC.user_data_dirUrcy)z':return: data directory shared by usersNr)r*s r site_data_dirzPlatformDirsABC.site_data_dirZr,rcy)z*:return: config directory tied to the userNr)r*s ruser_config_dirzPlatformDirsABC.user_config_dir_r,rcy)z-:return: config directory shared by the usersNr)r*s rsite_config_dirzPlatformDirsABC.site_config_dirdr,rcy)z):return: cache directory tied to the userNr)r*s ruser_cache_dirzPlatformDirsABC.user_cache_dirir,rcy)z(:return: cache directory shared by usersNr)r*s rsite_cache_dirzPlatformDirsABC.site_cache_dirnr,rcy)z):return: state directory tied to the userNr)r*s ruser_state_dirzPlatformDirsABC.user_state_dirsr,rcy)z':return: log directory tied to the userNr)r*s r user_log_dirzPlatformDirsABC.user_log_dirxr,rcy)z-:return: documents directory tied to the userNr)r*s ruser_documents_dirz"PlatformDirsABC.user_documents_dir}r,rcy)z-:return: downloads directory tied to the userNr)r*s ruser_downloads_dirz"PlatformDirsABC.user_downloads_dirr,rcy)z,:return: pictures directory tied to the userNr)r*s ruser_pictures_dirz!PlatformDirsABC.user_pictures_dirr,rcy)z*:return: videos directory tied to the userNr)r*s ruser_videos_dirzPlatformDirsABC.user_videos_dirr,rcy)z):return: music directory tied to the userNr)r*s ruser_music_dirzPlatformDirsABC.user_music_dirr,rcy)z+:return: runtime directory tied to the userNr)r*s ruser_runtime_dirz PlatformDirsABC.user_runtime_dirr,rc,t|jS)z#:return: data path tied to the user)rr+r*s ruser_data_pathzPlatformDirsABC.user_data_pathD&&''rc,t|jS)z":return: data path shared by users)rr.r*s rsite_data_pathzPlatformDirsABC.site_data_pathrIrc,t|jS)z%:return: config path tied to the user)rr0r*s ruser_config_pathz PlatformDirsABC.user_config_pathD(())rc,t|jS)z(:return: config path shared by the users)rr2r*s rsite_config_pathz PlatformDirsABC.site_config_pathrNrc,t|jS)z$:return: cache path tied to the user)rr4r*s ruser_cache_pathzPlatformDirsABC.user_cache_pathD''((rc,t|jS)z#:return: cache path shared by users)rr6r*s rsite_cache_pathzPlatformDirsABC.site_cache_pathrSrc,t|jS)z$:return: state path tied to the user)rr8r*s ruser_state_pathzPlatformDirsABC.user_state_pathrSrc,t|jS)z":return: log path tied to the user)rr:r*s r user_log_pathzPlatformDirsABC.user_log_pathsD%%&&rc,t|jS)z(:return: documents path tied to the user)rr<r*s ruser_documents_pathz#PlatformDirsABC.user_documents_pathD++,,rc,t|jS)z(:return: downloads path tied to the user)rr>r*s ruser_downloads_pathz#PlatformDirsABC.user_downloads_pathr\rc,t|jS)z':return: pictures path tied to the user)rr@r*s ruser_pictures_pathz"PlatformDirsABC.user_pictures_pathsD**++rc,t|jS)z%:return: videos path tied to the user)rrBr*s ruser_videos_pathz PlatformDirsABC.user_videos_pathrNrc,t|jS)z$:return: music path tied to the user)rrDr*s ruser_music_pathzPlatformDirsABC.user_music_pathrSrc,t|jS)z&:return: runtime path tied to the user)rrFr*s ruser_runtime_pathz!PlatformDirsABC.user_runtime_pathsD))**r)NNNFFTF)r str | Nonerzstr | None | Literal[False]rrgrboolrrhrrhrrhreturnNone)r!strrirk)rrkrirj)rirk)rir)%__name__ __module__ __qualname____doc__rr#r propertyrr+r.r0r2r4r6r8r:r<r>r@rBrDrFrHrKrMrPrRrUrWrYr[r^r`rbrdrfr)rrr r s7#15"#0 0 /0  0  0  0 0 0  0 d:776699<<88778866<<<<;;9988::((((****))))))''----,,**))++rr )ro __future__rrabcrrpathlibrtypingrsys version_infor pip._vendor.typing_extensionsr r)rrrxs?" #  6!"9M+cM+r