B
    žHe^  ã               @  s>   d Z ddlmZ ddlZddlmZ G dd„ deƒZdgZdS )zmacOS.é    )ÚannotationsNé   )ÚPlatformDirsABCc               @  s  e Zd ZdZeddœdd„ƒZeddœdd„ƒZeddœdd	„ƒZeddœd
d„ƒZeddœdd„ƒZ	eddœdd„ƒZ
eddœdd„ƒZeddœdd„ƒZeddœdd„ƒZeddœdd„ƒZeddœdd„ƒZeddœdd„ƒZeddœdd„ƒZeddœ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>`,
    `version <platformdirs.api.PlatformDirsABC.version>`,
    `ensure_exists <platformdirs.api.PlatformDirsABC.ensure_exists>`.
    Ústr)Úreturnc             C  s   |   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   úr/var/www/downstreamdata.science/rtclock/rtclock-venv/lib/python3.7/site-packages/pip/_vendor/platformdirs/macos.pyÚuser_data_dir   s    zMacOS.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    zMacOS.site_data_dirc             C  s   | j S )zC:return: config directory tied to the user, same as `user_data_dir`)r   )r   r   r   r   Úuser_config_dir   s    zMacOS.user_config_dirc             C  s   | j S )zF:return: config directory shared by the users, same as `site_data_dir`)r   )r   r   r   r   Úsite_config_dir!   s    zMacOS.site_config_dirc             C  s   |   tj d¡¡S )zV:return: cache directory tied to the user, e.g. ``~/Library/Caches/$appname/$version``z~/Library/Caches)r   r	   r
   r   )r   r   r   r   Úuser_cache_dir&   s    zMacOS.user_cache_dirc             C  s
   |   d¡S )zT:return: cache directory shared by users, e.g. ``/Library/Caches/$appname/$version``z/Library/Caches)r   )r   r   r   r   Úsite_cache_dir+   s    zMacOS.site_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_dir0   s    zMacOS.user_state_dirc             C  s   |   tj d¡¡S )zR:return: log directory tied to the user, e.g. ``~/Library/Logs/$appname/$version``z~/Library/Logs)r   r	   r
   r   )r   r   r   r   Úuser_log_dir5   s    zMacOS.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_dir:   s    zMacOS.user_documents_dirc             C  s   t j d¡S )zC:return: downloads directory tied to the user, e.g. ``~/Downloads``z~/Downloads)r	   r
   r   )r   r   r   r   Úuser_downloads_dir?   s    zMacOS.user_downloads_dirc             C  s   t j d¡S )zA:return: pictures directory tied to the user, e.g. ``~/Pictures``z
~/Pictures)r	   r
   r   )r   r   r   r   Úuser_pictures_dirD   s    zMacOS.user_pictures_dirc             C  s   t j d¡S )z=:return: videos directory tied to the user, e.g. ``~/Movies``z~/Movies)r	   r
   r   )r   r   r   r   Úuser_videos_dirI   s    zMacOS.user_videos_dirc             C  s   t j d¡S )z;:return: music directory tied to the user, e.g. ``~/Music``z~/Music)r	   r
   r   )r   r   r   r   Úuser_music_dirN   s    zMacOS.user_music_dirc             C  s   |   tj d¡¡S )zg:return: runtime directory tied to the user, e.g. ``~/Library/Caches/TemporaryItems/$appname/$version``z~/Library/Caches/TemporaryItems)r   r	   r
   r   )r   r   r   r   Úuser_runtime_dirS   s    zMacOS.user_runtime_dirN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Úpropertyr   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   	   s   r   )	r    Ú
__future__r   Úos.pathr	   Úapir   r   Ú__all__r   r   r   r   Ú<module>   s
   Q