Server IP : 104.21.93.192 / Your IP : 216.73.216.73 Web Server : LiteSpeed System : Linux premium900.web-hosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 User : redwjova ( 1790) PHP Version : 8.1.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/cloudlinux/venv/lib/python3.11/site-packages/platformdirs/__pycache__/ |
Upload File : |
� � h� � �| � 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 �e/builddir/build/BUILD/cloudlinux-venv-1.0.8/venv/lib/python3.11/site-packages/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'