hyb
2026-01-07 c7f60dc7e9a36596f0e0d1787bd0cca4e9b57bcb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
Ë
ñúh
ãóh—dZddlmZddlZddlZddlmZddlm    Z    erddl
m Z Gd„d    e    «Z d    gZ y)
zmacOS.é)Ú annotationsN)Ú TYPE_CHECKINGé)ÚPlatformDirsABC)ÚPathcóT—eZdZdZedd„«Zedd„«Zedd„«Zedd„«Zedd„«Z    edd„«Z
edd„«Z edd    „«Z edd
„«Z edd „«Zedd „«Zedd „«Zedd„«Zedd„«Zedd„«Zedd„«Zedd„«Zedd„«Zy)ÚMacOSaß
    Platform directories for the macOS operating system.
 
    Follows the guidance from
    `Apple documentation <https://developer.apple.com/library/archive/documentation/FileManagement/Conceptual/FileSystemProgrammingGuide/MacOSXDirectories/MacOSXDirectories.html>`_.
    Makes use of the `appname <platformdirs.api.PlatformDirsABC.appname>`,
    `version <platformdirs.api.PlatformDirsABC.version>`,
    `ensure_exists <platformdirs.api.PlatformDirsABC.ensure_exists>`.
 
    có^—|jtjjd««S)zb:return: data directory tied to the user, e.g. ``~/Library/Application Support/$appname/$version``z~/Library/Application Support©Ú_append_app_name_and_versionÚosÚpathÚ
expanduser©Úselfs úQH:\Change_password\venv_build\Lib\site-packages\pip/_vendor/platformdirs/macos.pyÚ user_data_dirzMacOS.user_data_dirs%€ð×0Ñ0´·±×1CÑ1CÐDcÓ1dÓeÐeócó —tjjd«}|r|jd«gng}|j    |jd««|j
rt jj|«S|dS)aB
        :return: data directory shared by users, e.g. ``/Library/Application Support/$appname/$version``.
          If we're using a Python binary managed by `Homebrew <https://brew.sh>`_, the directory
          will be under the Homebrew prefix, e.g. ``/opt/homebrew/share/$appname/$version``.
          If `multipath <platformdirs.api.PlatformDirsABC.multipath>` is enabled, and we're in Homebrew,
          the response is a multi-path string separated by ":", e.g.
          ``/opt/homebrew/share/$appname/$version:/Library/Application Support/$appname/$version``
        ú /opt/homebrewz/opt/homebrew/sharez/Library/Application Supportr©    ÚsysÚprefixÚ
startswithr ÚappendÚ    multipathr ÚpathsepÚjoin©rÚ is_homebrewÚ    path_lists   rÚ site_data_dirzMacOS.site_data_dir so€ô—j‘j×+Ñ+¨OÓ<ˆ ÙR]T×6Ñ6Ð7LÓMÑNÐceˆ    Ø×ј×:Ñ:Ð;YÓZÔ[Ø >Š>Ü—:‘:—?‘? 9Ó-Ð -ؘ‰|Ðrcó8—|j|j«S)zh:return: data path shared by users. Only return the first item, even if ``multipath`` is set to ``True``)Ú _first_item_as_path_if_multipathr"rs rÚsite_data_pathzMacOS.site_data_path1s€ð×4Ñ4°T×5GÑ5GÓHÐHrcó—|jS)zC:return: config directory tied to the user, same as `user_data_dir`©rrs rÚuser_config_dirzMacOS.user_config_dir6ó€ð×!Ñ!Ð!rcó—|jS)zF:return: config directory shared by the users, same as `site_data_dir`)r"rs rÚsite_config_dirzMacOS.site_config_dir;r)rcó^—|jtjjd««S)zV:return: cache directory tied to the user, e.g. ``~/Library/Caches/$appname/$version``z~/Library/Cachesr rs rÚuser_cache_dirzMacOS.user_cache_dir@s%€ð×0Ñ0´·±×1CÑ1CÐDVÓ1WÓXÐXrcó —tjjd«}|r|jd«gng}|j    |jd««|j
rt jj|«S|dS)a1
        :return: cache directory shared by users, e.g. ``/Library/Caches/$appname/$version``.
          If we're using a Python binary managed by `Homebrew <https://brew.sh>`_, the directory
          will be under the Homebrew prefix, e.g. ``/opt/homebrew/var/cache/$appname/$version``.
          If `multipath <platformdirs.api.PlatformDirsABC.multipath>` is enabled, and we're in Homebrew,
          the response is a multi-path string separated by ":", e.g.
          ``/opt/homebrew/var/cache/$appname/$version:/Library/Caches/$appname/$version``
        rz/opt/homebrew/var/cachez/Library/Cachesrrrs   rÚsite_cache_dirzMacOS.site_cache_dirEso€ô—j‘j×+Ñ+¨OÓ<ˆ ÙVaT×6Ñ6Ð7PÓQÑRÐgiˆ    Ø×ј×:Ñ:Ð;LÓMÔNØ >Š>Ü—:‘:—?‘? 9Ó-Ð -ؘ‰|Ðrcó8—|j|j«S)zi:return: cache path shared by users. Only return the first item, even if ``multipath`` is set to ``True``)r$r/rs rÚsite_cache_pathzMacOS.site_cache_pathVs€ð×4Ñ4°T×5HÑ5HÓIÐIrcó—|jS)zB:return: state directory tied to the user, same as `user_data_dir`r'rs rÚuser_state_dirzMacOS.user_state_dir[r)rcó^—|jtjjd««S)zR:return: log directory tied to the user, e.g. ``~/Library/Logs/$appname/$version``z~/Library/Logsr rs rÚ user_log_dirzMacOS.user_log_dir`s%€ð×0Ñ0´·±×1CÑ1CÐDTÓ1UÓVÐVrcó@—tjjd«S)zC:return: documents directory tied to the user, e.g. ``~/Documents``z ~/Documents©r rrrs rÚuser_documents_dirzMacOS.user_documents_direó€ôw‰w×!Ñ! -Ó0Ð0rcó@—tjjd«S)zC:return: downloads directory tied to the user, e.g. ``~/Downloads``z ~/Downloadsr7rs rÚuser_downloads_dirzMacOS.user_downloads_dirjr9rcó@—tjjd«S)zA:return: pictures directory tied to the user, e.g. ``~/Pictures``z
~/Picturesr7rs rÚuser_pictures_dirzMacOS.user_pictures_diros€ôw‰w×!Ñ! ,Ó/Ð/rcó@—tjjd«S)z=:return: videos directory tied to the user, e.g. ``~/Movies``z~/Moviesr7rs rÚuser_videos_dirzMacOS.user_videos_dirts€ôw‰w×!Ñ! *Ó-Ð-rcó@—tjjd«S)z;:return: music directory tied to the user, e.g. ``~/Music``z~/Musicr7rs rÚuser_music_dirzMacOS.user_music_dirys€ôw‰w×!Ñ! )Ó,Ð,rcó@—tjjd«S)z?:return: desktop directory tied to the user, e.g. ``~/Desktop``z    ~/Desktopr7rs rÚuser_desktop_dirzMacOS.user_desktop_dir~s€ôw‰w×!Ñ! +Ó.Ð.rcó^—|jtjjd««S)zg:return: runtime directory tied to the user, e.g. ``~/Library/Caches/TemporaryItems/$appname/$version``z~/Library/Caches/TemporaryItemsr rs rÚuser_runtime_dirzMacOS.user_runtime_dirƒs%€ð×0Ñ0´·±×1CÑ1CÐDeÓ1fÓgÐgrcó—|jS)zF:return: runtime directory shared by users, same as `user_runtime_dir`)rErs rÚsite_runtime_dirzMacOS.site_runtime_dirˆs€ð×$Ñ$Ð$rN)ÚreturnÚstr)rHr)Ú__name__Ú
__module__Ú __qualname__Ú__doc__Úpropertyrr"r%r(r+r-r/r1r3r5r8r;r=r?rArCrErG©rrr    r    s{„ñ    ðòfóðfðòóðð òIóðIðò"óð"ðò"óð"ðòYóðYðòóðð òJóðJðò"óð"ðòWóðWðò1óð1ðò1óð1ðò0óð0ðò.óð.ðò-óð-ðò/óð/ðòhóðhðò%óñ%rr    )rMÚ
__future__rÚos.pathr rÚtypingrÚapirÚpathlibrr    Ú__all__rOrrú<module>rVs8ðÙ å"ãÛ
Ý å áÝô|%ˆOô|%ð@ ð r