관리-도구
편집 파일: macos.cpython-312.pyc
� t��e_ � �@ � d dl mZ d dlZddlmZ G d� de� ZdgZy)� )�annotationsN� )�PlatformDirsABCc � � e Zd ZdZedd�� Zedd�� Zedd�� Zedd�� Zedd�� Z edd�� Z edd�� Zedd �� Zedd �� Z y) �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>` and `version <platformdirs.api.PlatformDirsABC.version>`. c �^ � | j t j j 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 ��/builddir/build/BUILDROOT/alt-python312-setuptools-69.0.2-1.el8.x86_64/opt/alt/python312/lib/python3.12/site-packages/pkg_resources/_vendor/platformdirs/macos.py� user_data_dirzMacOS.user_data_dir s% � � �0�0����1C�1C�Dd�1e�f�f� c �$ � | j d� S )z`:return: data directory shared by users, e.g. ``/Library/Application Support/$appname/$version``z/Library/Application Support�r r s r � site_data_dirzMacOS.site_data_dir s � � �0�0�1O�P�Pr c �^ � | j t j j d� � S )z\:return: config directory tied to the user, e.g. ``~/Library/Preferences/$appname/$version``z~/Library/Preferences/r r s r �user_config_dirzMacOS.user_config_dir s% � � �0�0����1C�1C�D\�1]�^�^r c �$ � | j d� S )zU:return: config directory shared by the users, e.g. ``/Library/Preferences/$appname``z/Library/Preferencesr r s r �site_config_dirzMacOS.site_config_dir s � � �0�0�1G�H�Hr c �^ � | j t j j d� � S )zV:return: cache directory tied to the user, e.g. ``~/Library/Caches/$appname/$version``z~/Library/Cachesr r s r �user_cache_dirzMacOS.user_cache_dir$ s% � � �0�0����1C�1C�DV�1W�X�Xr c � � | j S )zB:return: state directory tied to the user, same as `user_data_dir`)r r s r �user_state_dirzMacOS.user_state_dir) s � � �!�!�!r c �^ � | j t j j d� � S )zR:return: log directory tied to the user, e.g. ``~/Library/Logs/$appname/$version``z~/Library/Logsr r s r �user_log_dirzMacOS.user_log_dir. s% � � �0�0����1C�1C�DT�1U�V�Vr c �@ � t j j d� S )zC:return: documents directory tied to the user, e.g. ``~/Documents``z~/Documents)r r r r s r �user_documents_dirzMacOS.user_documents_dir3 s � � �w�w�!�!�-�0�0r c �^ � | j t j j d� � S )zg:return: runtime directory tied to the user, e.g. ``~/Library/Caches/TemporaryItems/$appname/$version``z~/Library/Caches/TemporaryItemsr r s r �user_runtime_dirzMacOS.user_runtime_dir8 s% � � �0�0����1C�1C�De�1f�g�gr N)�return�str)�__name__� __module__�__qualname__�__doc__�propertyr r r r r r r r! r# � r r r r s� � �� �g� �g� �Q� �Q� �_� �_� �I� �I� �Y� �Y� �"� �"� �W� �W� �1� �1� �h� �hr r )� __future__r r �apir r �__all__r+ r r �<module>r/ s) �� "� � �3h�O� 3h�n ��r