관리-도구
편집 파일: android.cpython-39.pyc
a ��Re� � @ sz d dl Z d dlZd dlZd dlmZ ddlmZ G dd� de�Zedd�ed�d d ��Z edd�ed�dd��Z dgZdS ) � N)� lru_cache� )�PlatformDirsABCc @ s� e Zd ZdZeed�dd��Zeed�dd��Zeed�dd��Zeed�d d ��Z eed�dd��Z eed�d d��Zeed�dd��Zeed�dd��Z eed�dd��ZdS )�Androidz� Follows the guidance `from here <https://android.stackexchange.com/a/216132>`_. Makes use of the `appname <platformdirs.api.PlatformDirsABC.appname>` and `version <platformdirs.api.PlatformDirsABC.version>`. ��returnc C s | � t� d�S )zd:return: data directory tied to the user, e.g. ``/data/user/<userid>/<packagename>/files/<AppName>``�files��_append_app_name_and_version�_android_folder��self� r ��/builddir/build/BUILDROOT/alt-python39-pip-21.3.1-2.el8.x86_64/opt/alt/python39/lib/python3.9/site-packages/pip/_vendor/platformdirs/android.py� user_data_dir s zAndroid.user_data_dirc C s | j S )z@:return: data directory shared by users, same as `user_data_dir`�r r r r r � site_data_dir s zAndroid.site_data_dirc C s | � t� d�S )z :return: config directory tied to the user, e.g. ``/data/user/<userid>/<packagename>/shared_prefs/<AppName>`` Zshared_prefsr r r r r �user_config_dir s zAndroid.user_config_dirc C s | j S )zH:return: config directory shared by the users, same as `user_config_dir`)r r r r r �site_config_dir! s zAndroid.site_config_dirc C s | � t� d�S )zj:return: cache directory tied to the user, e.g. e.g. ``/data/user/<userid>/<packagename>/cache/<AppName>``�cacher r r r r �user_cache_dir&