File: //usr/lib/python3/dist-packages/pip/_vendor/platformdirs/__pycache__/macos.cpython-310.pyc
o
@%Ne_
� @ s: d dl mZ d dlZddlmZ G dd� de�ZdgZdS )� )�annotationsN� )�PlatformDirsABCc @ s� e Zd ZdZeddd��Zeddd��Zeddd ��Zedd
d��Zeddd
��Z eddd��Z
eddd��Zeddd��Zeddd��Z
dS )�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>`.
�return�strc C � | � 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 �@/usr/lib/python3/dist-packages/pip/_vendor/platformdirs/macos.py�
user_data_dir � zMacOS.user_data_dirc C �
| � d�S )z`:return: data directory shared by users, e.g. ``/Library/Application Support/$appname/$version``z/Library/Application Support�r
r r r r �
site_data_dir �
zMacOS.site_data_dirc C r )z\:return: config directory tied to the user, e.g. ``~/Library/Preferences/$appname/$version``z~/Library/Preferences/r r r r r �user_config_dir r zMacOS.user_config_dirc C r )zU:return: config directory shared by the users, e.g. ``/Library/Preferences/$appname``z/Library/Preferencesr r r r r �site_config_dir r zMacOS.site_config_dirc C r )zV:return: cache directory tied to the user, e.g. ``~/Library/Caches/$appname/$version``z~/Library/Cachesr r r r r �user_cache_dir$ r zMacOS.user_cache_dirc C s | j S )zB:return: state directory tied to the user, same as `user_data_dir`)r r r r r �user_state_dir) s zMacOS.user_state_dirc C r )zR:return: log directory tied to the user, e.g. ``~/Library/Logs/$appname/$version``z~/Library/Logsr r r r r �user_log_dir. r zMacOS.user_log_dirc C s t j�d�S )zC:return: documents directory tied to the user, e.g. ``~/Documents``z~/Documents)r r r
r r r r �user_documents_dir3 s zMacOS.user_documents_dirc C r )zg:return: runtime directory tied to the user, e.g. ``~/Library/Caches/TemporaryItems/$appname/$version``z~/Library/Caches/TemporaryItemsr r r r r �user_runtime_dir8 r zMacOS.user_runtime_dirN)r r )�__name__�
__module__�__qualname__�__doc__�propertyr r r r r r r r r r r r r r s( r )�
__future__r r �apir r �__all__r r r r �<module> s 7�