/opt/cloudlinux/venv/lib/python3.11/site-packages/platformdirs/__pycache__
Edit: /opt/cloudlinux/venv/lib/python3.11/site-packages/platformdirs/__pycache__/windows.cpython-311.pyc (14633B)
§
ý¢Å2v¡
ã óæ — d Z ddlmZ ddlZddlZddlZddlmZ ddlm Z ddl
mZ e rddlm
Z
G d „ d
e¦ « Zdd„Zdd„Zdd„Zdd„Zdd„Z ed¬¦ « e¦ « ¦ « Zd
gZdS )zWindows.é )ÚannotationsN)Ú lru_cache)Ú
TYPE_CHECKINGé )ÚPlatformDirsABC)ÚCallablec ó — e Zd ZdZedd„¦ « Zddœdd
„Zedd„¦ « Zedd„¦ « Zedd
„¦ « Z edd„¦ « Z
edd„¦ « Zedd„¦ « Zedd„¦ « Z
edd„¦ « Zedd„¦ « Zedd„¦ « Zedd„¦ « Zedd„¦ « Zedd„¦ « Zedd„¦ « Zedd„¦ « ZdS )ÚWindowsa
`MSDN on where to store app data files
`_.
Makes use of the
`appname `,
`appauthor `,
`version `,
`roaming `,
`opinion `,
`ensure_exists `.
ÚreturnÚstrc óš — | j rdnd}t j t |¦ « ¦ « }| |¦ « S )z×
:return: data directory tied to the user, e.g.
``%USERPROFILE%\AppData\Local\$appauthor\$appname`` (not roaming) or
``%USERPROFILE%\AppData\Roaming\$appauthor\$appname`` (roaming)
Ú
CSIDL_APPDATAÚCSIDL_LOCAL_APPDATA)ÚroamingÚosÚpathÚnormpathÚget_win_folderÚ
_append_parts)ÚselfÚconstr s úf/builddir/build/BUILD/cloudlinux-venv-1.0.12/venv/lib/python3.11/site-packages/platformdirs/windows.pyÚ
user_data_dirzWindows.user_data_dir sF € ð $(¤<ÐJ��Ð5JˆÝŒw×Ò¥¨uÑ 5Ô 5Ñ6Ô6ˆØ×!Ò! $Ñ'Ô'Ð'ó N©Ú
opinion_valuer r ú
str | Nonec óz — g }| j r…| j dur#| j p| j }| |¦ « | | j ¦ « |�| j r| |¦ « | j r| | j ¦ « t j j |g|¢R Ž }| |¦ « |S )NF) ÚappnameÚ appauthorÚappendÚopinionÚversionr r ÚjoinÚ_optionally_create_directory)r r r ÚparamsÚauthors r r zWindows._append_parts( sÁ € ؈،<ð ,ØŒ~ UÐ*Ð*ØœÐ7¨4¬<�Ø—
’
˜fÑ%Ô%Ð%Ø�MŠM˜$œ,Ñ'Ô'Ð'ØÐ(¨T¬\Ð(Ø—
’
˜mÑ,Ô,Ð,ØŒ|ð
,Ø—
’
˜dœlÑ+Ô+Ð+ÝŒwŒ|˜DÐ* 6Ð*Ð*Ð*ˆØ×)Ò)¨$Ñ/Ô/Ð/؈r c ó„ — t j t d¦ « ¦ « }| |¦ « S )zT:return: data directory shared by users, e.g. ``C:\ProgramData\$appauthor\$appname``ÚCSIDL_COMMON_APPDATA©r r r r r ©r r s r Ú
site_data_dirzWindows.site_data_dir7 s6 € õ Œw×Ò¥Ð/EÑ FÔ FÑGÔGˆØ×!Ò! $Ñ'Ô'Ð'r c ó — | j S )zC:return: config directory tied to the user, same as `user_data_dir`©r ©r s r Úuser_config_dirzWindows.user_config_dir= ó
€ ð Ô!Ð!r c ó — | j S )zF:return: config directory shared by the users, same as `site_data_dir`)r, r/ s r Úsite_config_dirzWindows.site_config_dirB r1 r c óˆ — t j t d¦ « ¦ « }| |d¬¦ « S )zÇ
:return: cache directory tied to the user (if opinionated with ``Cache`` folder within ``$appname``) e.g.
``%USERPROFILE%\AppData\Local\$appauthor\$appname\Cache\$version``
r ÚCacher r* r+ s r Úuser_cache_dirzWindows.user_cache_dirG s; € õ Œw×Ò¥Ð/DÑ EÔ EÑFÔFˆØ×!Ò! $°gÐ!Ñ>Ô>Ð>r c óˆ — t j t d¦ « ¦ « }| |d¬¦ « S )zd:return: cache directory shared by users, e.g. ``C:\ProgramData\$appauthor\$appname\Cache\$version``r) r5 r r* r+ s r Úsite_cache_dirzWindows.site_cache_dirP s; € õ Œw×Ò¥Ð/EÑ FÔ FÑGÔGˆØ×!Ò! $°gÐ!Ñ>Ô>Ð>r c ó — | j S )zB:return: state directory tied to the user, same as `user_data_dir`r. r/ s r Úuser_state_dirzWindows.user_state_dirV r1 r c óŒ — | j }| j r5t j |d¦ « }| |¦ « |S )zg:return: log directory tied to the user, same as `user_data_dir` if not opinionated else ``Logs`` in itÚLogs)r r" r r r$ r% r+ s r Úuser_log_dirzWindows.user_log_dir[ sD € ð Ô!ˆØŒ<ð 4Ý”7—<’< fÑ-Ô-ˆDØ×-Ò-¨dÑ3Ô3Ð3؈r c óZ — t j t d¦ « ¦ « S )zN:return: documents directory tied to the user e.g. ``%USERPROFILE%\Documents``ÚCSIDL_PERSONAL©r r r r r/ s r Úuser_documents_dirzWindows.user_documents_dird s# € õ Œw×Ò¥Ð/?Ñ @Ô @ÑAÔAÐAr c óZ — t j t d¦ « ¦ « S )zN:return: downloads directory tied to the user e.g. ``%USERPROFILE%\Downloads``ÚCSIDL_DOWNLOADSr@ r/ s r Úuser_downloads_dirzWindows.user_downloads_diri s# € õ Œw×Ò¥Ð/@Ñ AÔ AÑBÔBÐBr c óZ — t j t d¦ « ¦ « S )zL:return: pictures directory tied to the user e.g. ``%USERPROFILE%\Pictures``ÚCSIDL_MYPICTURESr@ r/ s r Úuser_pictures_dirzWindows.user_pictures_dirn s# € õ Œw×Ò¥Ð/AÑ BÔ BÑCÔCÐCr c óZ — t j t d¦ « ¦ « S )zH:return: videos directory tied to the user e.g. ``%USERPROFILE%\Videos``Ú
CSIDL_MYVIDEOr@ r/ s r Úuser_videos_dirzWindows.user_videos_dirs ó" € õ Œw×Ò¥¨Ñ ?Ô ?Ñ@Ô@Ð@r c óZ — t j t d¦ « ¦ « S )zF:return: music directory tied to the user e.g. ``%USERPROFILE%\Music``Ú
CSIDL_MYMUSICr@ r/ s r Úuser_music_dirzWindows.user_music_dirx rK r c óZ — t j t d¦ « ¦ « S )zK:return: desktop directory tied to the user, e.g. ``%USERPROFILE%\Desktop``ÚCSIDL_DESKTOPDIRECTORYr@ r/ s r Úuser_desktop_dirzWindows.user_desktop_dir} s# € õ Œw×Ò¥Ð/GÑ HÔ HÑIÔIÐIr c óÀ — t j t j t d¦ « d¦ « ¦ « }| |¦ « S )z…
:return: runtime directory tied to the user, e.g.
``%USERPROFILE%\AppData\Local\Temp\$appauthor\$appname``
r ÚTemp)r r r r$ r r r+ s r Úuser_runtime_dirzWindows.user_runtime_dir‚ sG € õ Œw×Ò¥¤§¢^Ð