Current File : //lib/python3.9/site-packages/pip/_vendor/platformdirs/__pycache__/macos.cpython-39.pyc |
a
[��f;
� @ s. d dl Z ddlmZ G dd� de�ZdgZdS )� N� )�PlatformDirsABCc @ s� e Zd ZdZeed�dd��Zeed�dd��Zeed�dd��Zeed�d d
��Z eed�dd��Z
eed�d
d��Zeed�dd��Zeed�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>`.
)�returnc C s | � 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_dir s zMacOS.user_data_dirc C s
| � 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 s zMacOS.site_data_dirc C s | � tj�d��S )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 s zMacOS.user_config_dirc C s
| � d�S )zU:return: config directory shared by the users, e.g. ``/Library/Preferences/$appname``z/Library/Preferencesr r r
r
r �site_config_dir s zMacOS.site_config_dirc C s | � tj�d��S )zV:return: cache directory tied to the user, e.g. ``~/Library/Caches/$appname/$version``z~/Library/Cachesr r r
r
r �user_cache_dir"