2bi S r SSKJr SSKrSSKJrJr SSKJr SSK J r \ ( a! SSKr\R S: a SSK J r OSSKJ r " S S \5 rg)z Base API. )annotationsN)ABCabstractmethod)Path) TYPE_CHECKING) )Literalc " \ rS rSrSr S$ S%S jjrS&S jrS'S jr\\ S(S j5 5 r \\ S(S j5 5 r\\ S(S j5 5 r\\ S(S j5 5 r \\ S(S j5 5 r\\ S(S j5 5 r\\ S(S j5 5 r\\ S(S j5 5 r\\ S(S j5 5 r\\ S(S j5 5 r\\ S(S j5 5 r\\ S(S j5 5 r\\ S(S j5 5 r\\ S(S j5 5 r\S)S j5 r\S)S j5 r\S)S j5 r\S)S j5 r\S)S j5 r\S)S j5 r\S)S j5 r\S)S j5 r\S)S j5 r \S)S j5 r!\S)S j5 r"\S)S j5 r#\S)S! j5 r$\S)S" j5 r%S#r&g)*PlatformDirsABC z-Abstract base class for platform directories.Nc ` Xl X l X0l X@l XPl X`l Xpl g)a Create a new platform directory. :param appname: See `appname`. :param appauthor: See `appauthor`. :param version: See `version`. :param roaming: See `roaming`. :param multipath: See `multipath`. :param opinion: See `opinion`. :param ensure_exists: See `ensure_exists`. N)appname appauthorversionroaming multipathopinion ensure_exists)selfr r r r r r r s ڎ/builddir/build/BUILDROOT/alt-python313-pip-23.3.1-3.el8.x86_64/opt/alt/python313/lib/python3.13/site-packages/pip/_vendor/platformdirs/api.py__init__PlatformDirsABC.__init__ sI * " # * c < [ USS 5 nU R ( aG UR U R 5 U R ( a UR U R 5 [ R R " US /UQ76 nU R U5 U$ )N r )listr appendr ospathjoin_optionally_create_directory)r baseparamsr s r _append_app_name_and_version,PlatformDirsABC._append_app_name_and_versionG sm d12h<<MM$,,'|| dll+ww||DG-f-))$/r c Z U R ( a [ U5 R SSS9 g g )NT)parentsexist_ok)r r mkdir)r r s r r" ,PlatformDirsABC._optionally_create_directoryQ s' JTD9 r c g)z(:return: data directory tied to the userN r s r user_data_dirPlatformDirsABC.user_data_dirU r c g)z':return: data directory shared by usersNr- r. s r site_data_dirPlatformDirsABC.site_data_dirZ r1 r c g)z*:return: config directory tied to the userNr- r. s r user_config_dirPlatformDirsABC.user_config_dir_ r1 r c g)z-:return: config directory shared by the usersNr- r. s r site_config_dirPlatformDirsABC.site_config_dird r1 r c g)z):return: cache directory tied to the userNr- r. s r user_cache_dirPlatformDirsABC.user_cache_diri r1 r c g)z(:return: cache directory shared by usersNr- r. s r site_cache_dirPlatformDirsABC.site_cache_dirn r1 r c g)z):return: state directory tied to the userNr- r. s r user_state_dirPlatformDirsABC.user_state_dirs r1 r c g)z':return: log directory tied to the userNr- r. s r user_log_dirPlatformDirsABC.user_log_dirx r1 r c g)z-:return: documents directory tied to the userNr- r. s r user_documents_dir"PlatformDirsABC.user_documents_dir} r1 r c g)z-:return: downloads directory tied to the userNr- r. s r user_downloads_dir"PlatformDirsABC.user_downloads_dir r1 r c g)z,:return: pictures directory tied to the userNr- r. s r user_pictures_dir!PlatformDirsABC.user_pictures_dir r1 r c g)z*:return: videos directory tied to the userNr- r. s r user_videos_dirPlatformDirsABC.user_videos_dir r1 r c g)z):return: music directory tied to the userNr- r. s r user_music_dirPlatformDirsABC.user_music_dir r1 r c g)z+:return: runtime directory tied to the userNr- r. s r user_runtime_dir PlatformDirsABC.user_runtime_dir r1 r c , [ U R 5 $ )z#:return: data path tied to the user)r r/ r. s r user_data_pathPlatformDirsABC.user_data_path D&&''r c , [ U R 5 $ )z":return: data path shared by users)r r3 r. s r site_data_pathPlatformDirsABC.site_data_path r\ r c , [ U R 5 $ )z%:return: config path tied to the user)r r6 r. s r user_config_path PlatformDirsABC.user_config_path D(())r c , [ U R 5 $ )z(:return: config path shared by the users)r r9 r. s r site_config_path PlatformDirsABC.site_config_path rc r c , [ U R 5 $ )z$:return: cache path tied to the user)r r<