§ x<ˆjèãóž—dZddlmZddlZddlmZmZddlmZddl m Z e rddl Z e j dkrddl m Z nddlm Z Gd „d e¦«ZdS) z Base API.é)Ú annotationsN)ÚABCÚabstractmethod)ÚPath)Ú TYPE_CHECKING)éé)ÚLiteralcó:—eZdZdZ d8d9d„Zd:d„Zd;d„ZeedÚPlatformDirsABCz-Abstract base class for platform directories.NFTÚappnameú str | NoneÚ appauthorústr | None | Literal[False]ÚversionÚroamingÚboolÚ multipathÚopinionÚ ensure_existsÚreturnÚNonecóp—||_||_ ||_ ||_ ||_ ||_||_dS)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)r rrrrrr)Úselfr rrrrrrs úb/builddir/build/BUILD/cloudlinux-venv-1.0.12/venv/lib/python3.11/site-packages/platformdirs/api.pyÚ__init__zPlatformDirsABC.__init__s\€ð*ˆŒ Ø"ˆŒð ðˆŒ ð ðˆŒ ð ð #ˆŒð ðˆŒ Ø*ˆÔð ð óÚbaseÚstrcó—t|dd…¦«}|jr;| |j¦«|jr| |j¦«t jj|dg|¢RŽ}| |¦«|S)Nér)Úlistr ÚappendrÚosÚpathÚjoinÚ_optionally_create_directory)rrÚparamsr%s rÚ_append_app_name_and_versionz,PlatformDirsABC._append_app_name_and_versionGs‡€Ý�d˜1˜2˜2”h‘”ˆØ Œ<ð ,Ø �MŠM˜$œ,Ñ 'Ô 'Ð 'ØŒ|ð ,Ø— ’ ˜dœlÑ+Ô+Ð+ÝŒwŒ|˜D œGÐ- fÐ-Ð-Ð-ˆØ ×)Ò)¨$Ñ/Ô/Ð/؈ rr%có`—|jr&t|¦« dd¬¦«dSdS)NT)ÚparentsÚexist_ok)rrÚmkdir)rr%s rr'z,PlatformDirsABC._optionally_create_directoryQs<€Ø Ô ð :Ý �‰JŒJ× Ò  T°DÐ Ñ 9Ô 9Ð 9Ð 9Ð 9ð :ð :rcó—dS)z(:return: data directory tied to the userN©©rs rÚ user_data_dirzPlatformDirsABC.user_data_dirUó€€€rcó—dS)z':return: data directory shared by usersNr/r0s rÚ site_data_dirzPlatformDirsABC.site_data_dirZr2rcó—dS)z*:return: config directory tied to the userNr/r0s rÚuser_config_dirzPlatformDirsABC.user_config_dir_r2rcó—dS)z-:return: config directory shared by the usersNr/r0s rÚsite_config_dirzPlatformDirsABC.site_config_dirdr2rcó—dS)z):return: cache directory tied to the userNr/r0s rÚuser_cache_dirzPlatformDirsABC.user_cache_dirir2rcó—dS)z(:return: cache directory shared by usersNr/r0s rÚsite_cache_dirzPlatformDirsABC.site_cache_dirnr2rcó—dS)z):return: state directory tied to the userNr/r0s rÚuser_state_dirzPlatformDirsABC.user_state_dirsr2rcó—dS)z':return: log directory tied to the userNr/r0s rÚ user_log_dirzPlatformDirsABC.user_log_dirxr2rcó—dS)z-:return: documents directory tied to the userNr/r0s rÚuser_documents_dirz"PlatformDirsABC.user_documents_dir}r2rcó—dS)z-:return: downloads directory tied to the userNr/r0s rÚuser_downloads_dirz"PlatformDirsABC.user_downloads_dir‚r2rcó—dS)z,:return: pictures directory tied to the userNr/r0s rÚuser_pictures_dirz!PlatformDirsABC.user_pictures_dir‡r2rcó—dS)z*:return: videos directory tied to the userNr/r0s rÚuser_videos_dirzPlatformDirsABC.user_videos_dirŒr2rcó—dS)z):return: music directory tied to the userNr/r0s rÚuser_music_dirzPlatformDirsABC.user_music_dir‘r2rcó—dS)z+:return: desktop directory tied to the userNr/r0s rÚuser_desktop_dirz PlatformDirsABC.user_desktop_dir–r2rcó—dS)z+:return: runtime directory tied to the userNr/r0s rÚuser_runtime_dirz PlatformDirsABC.user_runtime_dir›r2rcó—dS)z*:return: runtime directory shared by usersNr/r0s rÚsite_runtime_dirz PlatformDirsABC.site_runtime_dir r2rrcó*—t|j¦«S)z#:return: data path tied to the user)rr1r0s rÚuser_data_pathzPlatformDirsABC.user_data_path¥ó€õ�DÔ&Ñ'Ô'Ð'rcó*—t|j¦«S)z":return: data path shared by users)rr4r0s rÚsite_data_pathzPlatformDirsABC.site_data_pathªrSrcó*—t|j¦«S)z%:return: config path tied to the user)rr6r0s rÚuser_config_pathz PlatformDirsABC.user_config_path¯ó€õ�DÔ(Ñ)Ô)Ð)rcó*—t|j¦«S)z(:return: config path shared by the users)rr8r0s rÚsite_config_pathz PlatformDirsABC.site_config_path´rXrcó*—t|j¦«S)z$:return: cache path tied to the user)rr:r0s rÚuser_cache_pathzPlatformDirsABC.user_cache_path¹ó€õ�DÔ'Ñ(Ô(Ð(rcó*—t|j¦«S)z#:return: cache path shared by users)rr<r0s rÚsite_cache_pathzPlatformDirsABC.site_cache_path¾r]rcó*—t|j¦«S)z$:return: state path tied to the user)rr>r0s rÚuser_state_pathzPlatformDirsABC.user_state_pathÃr]rcó*—t|j¦«S)z":return: log path tied to the user)rr@r0s rÚ user_log_pathzPlatformDirsABC.user_log_pathÈs€õ�DÔ%Ñ&Ô&Ð&rcó*—t|j¦«S)z(:return: documents path tied to the user)rrBr0s rÚuser_documents_pathz#PlatformDirsABC.user_documents_pathÍó€õ�DÔ+Ñ,Ô,Ð,rcó*—t|j¦«S)z(:return: downloads path tied to the user)rrDr0s rÚuser_downloads_pathz#PlatformDirsABC.user_downloads_pathÒrfrcó*—t|j¦«S)z':return: pictures path tied to the user)rrFr0s rÚuser_pictures_pathz"PlatformDirsABC.user_pictures_path×s€õ�DÔ*Ñ+Ô+Ð+rcó*—t|j¦«S)z%:return: videos path tied to the user)rrHr0s rÚuser_videos_pathz PlatformDirsABC.user_videos_pathÜrXrcó*—t|j¦«S)z$:return: music path tied to the user)rrJr0s rÚuser_music_pathzPlatformDirsABC.user_music_pathár]rcó*—t|j¦«S)z&:return: desktop path tied to the user)rrLr0s rÚuser_desktop_pathz!PlatformDirsABC.user_desktop_pathæó€õ�DÔ)Ñ*Ô*Ð*rcó*—t|j¦«S)z&:return: runtime path tied to the user)rrNr0s rÚuser_runtime_pathz!PlatformDirsABC.user_runtime_pathërqrcó*—t|j¦«S)z%:return: runtime path shared by users)rrPr0s rÚsite_runtime_pathz!PlatformDirsABC.site_runtime_pathðrqr)NNNFFTF)r rrrrrrrrrrrrrrr)rrrr)r%rrr)rr)rr))Ú__name__Ú __module__Ú __qualname__Ú__doc__rr)r'Úpropertyrr1r4r6r8r:r<r>r@rBrDrFrHrJrLrNrPrRrUrWrZr\r_rarcrerhrjrlrnrprsrur/rrr r s€€€€€Ø7Ð7ð#Ø15Ø"ØØØØ#ð0 ð0 ð0 ð0 ð0 ðdðððð:ð:ð:ð:ðØð7ð7ð7ñ„^ñ„Xð7ðØð6ð6ð6ñ„^ñ„Xð6ðØð9ð9ð9ñ„^ñ„Xð9ðØð<ð<ð<ñ„^ñ„Xð<ðØð8ð8ð8ñ„^ñ„Xð8ðØð7ð7ð7ñ„^ñ„Xð7ðØð8ð8ð8ñ„^ñ„Xð8ðØð6ð6ð6ñ„^ñ„Xð6ðØð<ð<ð<ñ„^ñ„Xð<ðØð<ð<ð<ñ„^ñ„Xð<ðØð;ð;ð;ñ„^ñ„Xð;ðØð9ð9ð9ñ„^ñ„Xð9ðØð8ð8ð8ñ„^ñ„Xð8ðØð:ð:ð:ñ„^ñ„Xð:ðØð:ð:ð:ñ„^ñ„Xð:ðØð9ð9ð9ñ„^ñ„Xð9ðð(ð(ð(ñ„Xð(ðð(ð(ð(ñ„Xð(ðð*ð*ð*ñ„Xð*ðð*ð*ð*ñ„Xð*ðð)ð)ð)ñ„Xð)ðð)ð)ð)ñ„Xð)ðð)ð)ð)ñ„Xð)ðð'ð'ð'ñ„Xð'ðð-ð-ð-ñ„Xð-ðð-ð-ð-ñ„Xð-ðð,ð,ð,ñ„Xð,ðð*ð*ð*ñ„Xð*ðð)ð)ð)ñ„Xð)ðð+ð+ð+ñ„Xð+ðð+ð+ð+ñ„Xð+ðð+ð+ð+ñ„Xð+ð+ð+rr )ryÚ __future__rr$ÚabcrrÚpathlibrÚtypingrÚsysÚ version_infor Útyping_extensionsr r/rrúr‚såðØ€Ø"Ð"Ð"Ð"Ð"Ð"à € € € Ø#Ð#Ð#Ð#Ð#Ð#Ð#Ð#ØÐÐÐÐÐØ Ð Ð Ð Ð Ð àð.Ø€J€J€Jà Ô˜6Ò!Ð!Ø"Ð"Ð"Ð"Ð"Ð"Ð"à-Ð-Ð-Ð-Ð-Ð-ða+ða+ða+ða+ða+�cña+ôa+ða+ða+ða+r