§ ·_²ÞÁºZðãóT—dZddlmZddlZddlZddlmZGd„de¦«ZdgZ dS)zmacOS.é)Ú annotationsNé)ÚPlatformDirsABCcó’—eZdZdZedd„¦«Zedd„¦«Zedd„¦«Zedd„¦«Zedd„¦«Z edd „¦«Z edd „¦«Z edd „¦«Z edd „¦«Z edd „¦«Zedd„¦«Zedd„¦«Zedd„¦«Zedd„¦«Zedd„¦«Zedd„¦«ZdS)ÚMacOSaÙ Platform directories for the macOS operating system. Follows the guidance from `Apple documentation `_. Makes use of the `appname `, `version `, `ensure_exists `. ÚreturnÚstrcóf—| tj d¦«¦«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 ú‘/srv/buildsys-work-dir/castor/build_node/builder-2/WGSG1/unpkd_srcs/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/platformdirs/macos.pyÚ user_data_dirzMacOS.user_data_dirs)€ð×0Ò0µ´×1CÒ1CÐDcÑ1dÔ1dÑeÔeÐeócó —tj d¦«}|r| d¦«gng}| | d¦«¦«|jrt j |¦«S|dS)aA :return: data directory shared by users, e.g. ``/Library/Application Support/$appname/$version``. If we're using a Python binary managed by `Homebrew `_, the directory will be under the Homebrew prefix, e.g. ``/opt/homebrew/share/$appname/$version``. If `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_dirs†€õ”j×+Ò+¨OÑ<Ô<ˆ ØR]ÐeT×6Ò6Ð7LÑMÔMÐNÐNÐceˆ Ø×Ò˜×:Ò:Ð;YÑZÔZÑ[Ô[Ð[Ø Œ>ð .Ý”:—?’? 9Ñ-Ô-Ð -ؘŒ|Ðrcó—|jS)zC:return: config directory tied to the user, same as `user_data_dir`©rrs rÚuser_config_dirzMacOS.user_config_dir)ó €ðÔ!Ð!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óf—| tj d¦«¦«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_dir3s)€ð×0Ò0µ´×1CÒ1CÐDVÑ1WÔ1WÑXÔXÐXrcó —tj d¦«}|r| d¦«gng}| | d¦«¦«|jrt j |¦«S|dS)a0 :return: cache directory shared by users, e.g. ``/Library/Caches/$appname/$version``. If we're using a Python binary managed by `Homebrew `_, the directory will be under the Homebrew prefix, e.g. ``/opt/homebrew/var/cache/$appname/$version``. If `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_dir8s†€õ”j×+Ò+¨OÑ<Ô<ˆ ØVaÐiT×6Ò6Ð7PÑQÔQÐRÐRÐgiˆ Ø×Ò˜×:Ò:Ð;LÑMÔMÑNÔNÐNØ Œ>ð .Ý”:—?’? 9Ñ-Ô-Ð -ؘŒ|Ðrcó—|jS)zB:return: state directory tied to the user, same as `user_data_dir`r$rs rÚuser_state_dirzMacOS.user_state_dirIr&rcóf—| tj d¦«¦«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_dirNs)€ð×0Ò0µ´×1CÒ1CÐDTÑ1UÔ1UÑVÔVÐVrcó@—tj d¦«S)zC:return: documents directory tied to the user, e.g. ``~/Documents``z ~/Documents©r rrrs rÚuser_documents_dirzMacOS.user_documents_dirSó€õŒw×!Ò! -Ñ0Ô0Ð0rcó@—tj d¦«S)zC:return: downloads directory tied to the user, e.g. ``~/Downloads``z ~/Downloadsr2rs rÚuser_downloads_dirzMacOS.user_downloads_dirXr4rcó@—tj d¦«S)zA:return: pictures directory tied to the user, e.g. ``~/Pictures``z ~/Picturesr2rs rÚuser_pictures_dirzMacOS.user_pictures_dir]s€õŒw×!Ò! ,Ñ/Ô/Ð/rcó@—tj d¦«S)z=:return: videos directory tied to the user, e.g. ``~/Movies``z~/Moviesr2rs rÚuser_videos_dirzMacOS.user_videos_dirbs€õŒw×!Ò! *Ñ-Ô-Ð-rcó@—tj d¦«S)z;:return: music directory tied to the user, e.g. ``~/Music``z~/Musicr2rs rÚuser_music_dirzMacOS.user_music_dirgs€õŒw×!Ò! )Ñ,Ô,Ð,rcó@—tj d¦«S)z?:return: desktop directory tied to the user, e.g. ``~/Desktop``z ~/Desktopr2rs rÚuser_desktop_dirzMacOS.user_desktop_dirls€õŒw×!Ò! +Ñ.Ô.Ð.rcóf—| tj d¦«¦«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_dirqs)€ð×0Ò0µ´×1CÒ1CÐDeÑ1fÔ1fÑgÔgÐgrcó—|jS)zF:return: runtime directory shared by users, same as `user_runtime_dir`)r@rs rÚsite_runtime_dirzMacOS.site_runtime_dirvs €ðÔ$Ð$rN)rr )Ú__name__Ú __module__Ú __qualname__Ú__doc__Úpropertyrr"r%r(r*r,r.r0r3r6r8r:r<r>r@rB©rrrr s.€€€€€ððððfðfðfñ„Xðfððððñ„Xðð ð"ð"ð"ñ„Xð"ðð"ð"ð"ñ„Xð"ððYðYðYñ„XðYððððñ„Xðð ð"ð"ð"ñ„Xð"ððWðWðWñ„XðWðð1ð1ð1ñ„Xð1ðð1ð1ð1ñ„Xð1ðð0ð0ð0ñ„Xð0ðð.ð.ð.ñ„Xð.ðð-ð-ð-ñ„Xð-ðð/ð/ð/ñ„Xð/ððhðhðhñ„Xðhðð%ð%ð%ñ„Xð%ð%ð%rr) rFÚ __future__rÚos.pathr rÚapirrÚ__all__rHrrúrMsƒðØ € Ø"Ð"Ð"Ð"Ð"Ð"à€€€Ø € € € à Ð Ð Ð Ð Ð ðo%ðo%ðo%ðo%ðo%ˆOño%ôo%ðo%ðf ð €€€r