OwlCyberSecurity - MANAGER
Edit File: macos.cpython-38.pyc
U ʗRe_ � @ 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 ��/builddir/build/BUILDROOT/alt-python38-pip-22.2.1-2.el8.x86_64/opt/alt/python38/lib/python3.8/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$ 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&