˸
ƃ | 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 `_. Makes use of the
`appname `,
`version `,
`ensure_exists `.
returnstrc l | t t t d S )zd:return: data directory tied to the user, e.g. ``/data/user///files/``files_append_app_name_and_versionr r _android_folderselfs f/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib/python3.11/site-packages/platformdirs/android.py
user_data_dirzAndroid.user_data_dir * 00c?;L;L1M1MwWWW 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///shared_prefs/``
shared_prefsr r s r user_config_dirzAndroid.user_config_dir s* 00c?;L;L1M1M~^^^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 )zj:return: cache directory tied to the user, e.g. e.g. ``/data/user///cache/``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" r s r site_cache_dirzAndroid.site_cache_dir1 s
""r c | j S )zB:return: state directory tied to the user, same as `user_data_dir`r r s r user_state_dirzAndroid.user_state_dir6 r r c b | j }| j r t j |d }|S )z
:return: log directory tied to the user, same as `user_cache_dir` if not opinionated else ``log`` in it,
e.g. ``/data/user///cache//log``
logr" opinionospathjoinr r, s r user_log_dirzAndroid.user_log_dir; 0 "<