o
    ÍtBhl  ã                   @   s.   d dl Z ddlmZ G dd„ deƒZdgZdS )é    Né   )ÚPlatformDirsABCc                   @   sŽ   e Zd ZdZedefdd„ƒZedefdd„ƒZedefdd„ƒZedefd	d
„ƒZ	edefdd„ƒZ
edefdd„ƒZedefdd„ƒZdS )Ú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   ó   |   t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©Úself© r   úi/var/www/html/riverr-enterprise-integrations-main/venv/lib/python3.10/site-packages/platformdirs/macos.pyÚuser_data_dir   ó   zMacOS.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   ó   
zMacOS.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   zMacOS.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   zMacOS.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   zMacOS.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   zMacOS.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   zMacOS.user_log_dirN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚpropertyÚstrr   r   r   r   r   r   r   r   r   r   r   r      s     r   )r	   Úapir   r   Ú__all__r   r   r   r   Ú<module>   s
    -ÿ