
    څf_
                    H    d dl mZ d dlZddlmZ  G d de          ZdgZdS )    )annotationsN   )PlatformDirsABCc                      e Zd ZdZedd            Zedd            Zedd            Zedd            Zedd            Z	edd	            Z
edd
            Zedd            Ze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>`.
    returnstrc                f    |                      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selfs    W/var/www/media/lib/python3.11/site-packages/pkg_resources/_vendor/platformdirs/macos.pyuser_data_dirzMacOS.user_data_dir   s)     001C1CDd1e1efff    c                ,    |                      d          S )z`:return: data directory shared by users, e.g. ``/Library/Application Support/$appname/$version``z/Library/Application Supportr   r   s    r   site_data_dirzMacOS.site_data_dir   s     001OPPPr   c                f    |                      t          j                            d                    S )z\:return: config directory tied to the user, e.g. ``~/Library/Preferences/$appname/$version``z~/Library/Preferences/r   r   s    r   user_config_dirzMacOS.user_config_dir   s)     001C1CD\1]1]^^^r   c                ,    |                      d          S )zU:return: config directory shared by the users, e.g. ``/Library/Preferences/$appname``z/Library/Preferencesr   r   s    r   site_config_dirzMacOS.site_config_dir   s     001GHHHr   c                f    |                      t          j                            d                    S )zV:return: cache directory tied to the user, e.g. ``~/Library/Caches/$appname/$version``z~/Library/Cachesr   r   s    r   user_cache_dirzMacOS.user_cache_dir$   s)     001C1CDV1W1WXXXr   c                    | j         S )zB:return: state directory tied to the user, same as `user_data_dir`)r   r   s    r   user_state_dirzMacOS.user_state_dir)   s     !!r   c                f    |                      t          j                            d                    S )zR:return: log directory tied to the user, e.g. ``~/Library/Logs/$appname/$version``z~/Library/Logsr   r   s    r   user_log_dirzMacOS.user_log_dir.   s)     001C1CDT1U1UVVVr   c                @    t           j                            d          S )zC:return: documents directory tied to the user, e.g. ``~/Documents``z~/Documents)r   r   r   r   s    r   user_documents_dirzMacOS.user_documents_dir3   s     w!!-000r   c                f    |                      t          j                            d                    S )zg:return: runtime directory tied to the user, e.g. ``~/Library/Caches/TemporaryItems/$appname/$version``z~/Library/Caches/TemporaryItemsr   r   s    r   user_runtime_dirzMacOS.user_runtime_dir8   s)     001C1CDe1f1fgggr   N)r   r	   )__name__
__module____qualname____doc__propertyr   r   r   r   r   r   r!   r#   r%    r   r   r   r      s\         g g g Xg Q Q Q XQ _ _ _ X_ I I I XI Y Y Y XY " " " X" W W W XW 1 1 1 X1 h h h Xh h hr   r   )
__future__r   r   apir   r   __all__r+   r   r   <module>r/      su    " " " " " " 				            3h 3h 3h 3h 3hO 3h 3h 3hn r   