관리-도구
편집 파일: android.cpython-311.pyc
� �܋f � �| � d Z ddlmZ ddlZddlZddlZddlmZ ddlm Z ddl mZ G d� d e� � Z ed� � � dd �� � Z ed� � � dd�� � Z ed� � � dd�� � Z ed� � � dd�� � Z ed� � � dd�� � Z ed� � � dd�� � Zd gZdS )zAndroid.� )�annotationsN)� lru_cache)�cast� )�PlatformDirsABCc � � e Zd ZdZedd�� � Zedd�� � Zedd�� � Zedd�� � Zedd�� � Z edd �� � Z edd �� � Zedd�� � Zedd�� � Z edd �� � Zedd�� � Zedd�� � Zedd�� � Zedd�� � Zedd�� � Zedd�� � ZdS )�Androida" Follows the guidance `from here <https://android.stackexchange.com/a/216132>`_. Makes use of the `appname <platformdirs.api.PlatformDirsABC.appname>`, `version <platformdirs.api.PlatformDirsABC.version>`, `ensure_exists <platformdirs.api.PlatformDirsABC.ensure_exists>`. �return�strc �l � | � t t t � � � � d� � S )zd:return: data directory tied to the user, e.g. ``/data/user/<userid>/<packagename>/files/<AppName>``�files��_append_app_name_and_versionr r �_android_folder��selfs �q/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/pip/_vendor/platformdirs/android.py� user_data_dirzAndroid.user_data_dir �* � � �0�0��c�?�;L�;L�1M�1M�w�W�W�W� c � � | j S )z@:return: data directory shared by users, same as `user_data_dir`�r r s r � site_data_dirzAndroid.site_data_dir � � � �!�!r c �l � | � t t t � � � � d� � S )z� :return: config directory tied to the user, e.g. ``/data/user/<userid>/<packagename>/shared_prefs/<AppName>`` �shared_prefsr r s r �user_config_dirzAndroid.user_config_dir! s* � � �0�0��c�?�;L�;L�1M�1M�~�^�^�^r c � � | j S )zH:return: config directory shared by the users, same as `user_config_dir`)r r s r �site_config_dirzAndroid.site_config_dir) s � � �#�#r c �l � | � t t t � � � � d� � S )ze:return: cache directory tied to the user, e.g.,``/data/user/<userid>/<packagename>/cache/<AppName>``�cacher r s r �user_cache_dirzAndroid.user_cache_dir. r r c � � | j S )zB:return: cache directory shared by users, same as `user_cache_dir`)r"