| Server IP : 162.144.4.212 / Your IP : 216.73.216.108 Web Server : Apache System : Linux gator2125.hostgator.com 5.14.0-162.23.1.9991722448259.nf.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 31 18:11:45 UTC 2024 x86_64 User : cozeellc ( 2980) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3.9/site-packages/platformdirs/__pycache__/ |
Upload File : |
a
y��d_
� @ s: d dl mZ d dlZddlmZ G dd� de�ZdgZdS )� )�annotationsN� )�PlatformDirsABCc @ s� e Zd ZdZedd�dd��Zedd�dd��Zedd�dd ��Zedd�d
d��Zedd�dd
��Z edd�dd��Z
edd�dd��Zedd�dd��Zedd�dd��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>`.
�str)�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 �6/usr/lib/python3.9/site-packages/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$ s 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 s | � tj�d��S )zR:return: log directory tied to the user, e.g. ``~/Library/Logs/$appname/$version``z~/Library/Logsr r
r r r �user_log_dir. s 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 s | � tj�d��S )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 s zMacOS.user_runtime_dirN)�__name__�
__module__�__qualname__�__doc__�propertyr r r r r r r r r r r r r r s&