Current File : //lib/python3.9/site-packages/pip/_vendor/platformdirs/__pycache__/macos.cpython-39.pyc
a

[��f;
�@s.ddlZddlmZGdd�de�ZdgZdS)�N�)�PlatformDirsABCc@s�eZdZdZeed�dd��Zeed�dd��Zeed�dd��Zeed�d	d
��Z	eed�dd��Z
eed�d
d��Zeed�dd��Zeed�dd��Z
eed�dd��ZdS)�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>`.
    )�returncCs|�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��self�r
�B/usr/lib/python3.9/site-packages/pip/_vendor/platformdirs/macos.py�
user_data_dirszMacOS.user_data_dircCs
|�d�S)z`:return: data directory shared by users, e.g. ``/Library/Application Support/$appname/$version``z/Library/Application Support�rrr
r
r�
site_data_dirszMacOS.site_data_dircCs|�tj�d��S)z\:return: config directory tied to the user, e.g. ``~/Library/Preferences/$appname/$version``z~/Library/Preferences/rrr
r
r�user_config_dirszMacOS.user_config_dircCs
|�d�S)zU:return: config directory shared by the users, e.g. ``/Library/Preferences/$appname``z/Library/Preferencesrrr
r
r�site_config_dirszMacOS.site_config_dircCs|�tj�d��S)zV:return: cache directory tied to the user, e.g. ``~/Library/Caches/$appname/$version``z~/Library/Cachesrrr
r
r�user_cache_dir"szMacOS.user_cache_dircCs|jS)zB:return: state directory tied to the user, same as `user_data_dir`)rrr
r
r�user_state_dir'szMacOS.user_state_dircCs|�tj�d��S)zR:return: log directory tied to the user, e.g. ``~/Library/Logs/$appname/$version``z~/Library/Logsrrr
r
r�user_log_dir,szMacOS.user_log_dircCstj�d�S)zC:return: documents directory tied to the user, e.g. ``~/Documents``z~/Documents)rr	r
rr
r
r�user_documents_dir1szMacOS.user_documents_dircCs|�tj�d��S)zg:return: runtime directory tied to the user, e.g. ``~/Library/Caches/TemporaryItems/$appname/$version``z~/Library/Caches/TemporaryItemsrrr
r
r�user_runtime_dir6szMacOS.user_runtime_dirN)�__name__�
__module__�__qualname__�__doc__�property�strrrrrrrrrrr
r
r
rrs&r)rZapirr�__all__r
r
r
r�<module>s7�