$57 GRAYBYTE WORDPRESS FILE MANAGER $79

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.162.162 | ADMIN IP 216.73.216.51
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/lib64/python3.12/importlib/resources/__pycache__/

HOME
Current File : /lib64/python3.12/importlib/resources/__pycache__//_legacy.cpython-312.opt-1.pyc
�

�֦i���R�ddlZddlZddlZddlZddlZddlmZmZmZm	Z	m
Z
mZddlm
Z
eejefZeZdedefd�Zded	ede	fd
�Zded	edefd�Z		dded	eded
ede
f
d�Z		dded	eded
edef
d�Zdedeefd�Zdededefd�Zded	edeej6fd�Zy)�N)�Union�Iterable�ContextManager�BinaryIO�TextIO�Any�)�_common�path�returnc��t|�}tjj|�\}}|rt	|�d���|S)z�Normalize a path by ensuring it is a string.

    If the resulting string contains path separators, an exception is raised.
    z must be only a file name)�str�osr�split�
ValueError)r�str_path�parent�	file_names    �4/usr/lib64/python3.12/importlib/resources/_legacy.py�normalize_pathrs@��
�4�y�H����
�
�h�/��F�I�
��D�8�#<�=�>�>����package�resourcec�b�tj|�t|�zjd�S)zDReturn a file-like object opened for binary reading of the resource.�rb�r
�filesr�open�rrs  r�open_binaryr s&���M�M�'�"�^�H�%=�=�C�C�D�I�Irc�`�tj|�t|�zj�S)z+Return the binary contents of the resource.)r
rr�
read_bytesrs  r�read_binaryr# s$���M�M�'�"�^�H�%=�=�I�I�K�Kr�encoding�errorsc�h�tj|�t|�zjd||��S)zBReturn a file-like object opened for text reading of the resource.�r)r$r%r)rrr$r%s    r�	open_textr(%s7��
�M�M�'�"�^�H�%=�=�C�C��h�v�D��rc�j�t||||�5}|j�cddd�S#1swYyxYw)z�Return the decoded string of the resource.

    The decoding-related arguments have the same semantics as those of
    bytes.decode().
    N)r(�read)rrr$r%�fps     r�	read_textr,1s)��
�7�H�h��	7�2��w�w�y�
8�	7�	7�s�)�2c��tj|�j�D�cgc]}|j��c}Scc}w)z�Return an iterable of entries in `package`.

    Note that not all entries are resources.  Specifically, directories are
    not considered resources.  Use `is_resource()` on each entry returned here
    to check if it is a resource or not.
    )r
r�iterdir�name)rrs  r�contentsr0@s4��#*�-�-��"8�"@�"@�"B�C�"B�$�D�I�I�"B�C�C��Cs�<r/c���t|��t�fd�tj|�j	�D��S)zYTrue if `name` is a resource inside `package`.

    Directories are *not* resources.
    c3�`�K�|]%}|j�k(xr|j����'y�w)N)r/�is_file)�.0�traversablers  �r�	<genexpr>zis_resource.<locals>.<genexpr>Ps5������;�K�	���H�$�>��)<�)<�)>�>�;�s�+.)r�anyr
rr.)rr/rs  @r�is_resourcer8Js;���
�d�#�H���"�=�=��1�9�9�;���rc�j�tjtj|�t|�z�S)akA context manager providing a file path object to the resource.

    If the resource does not already exist on its own on the file system,
    a temporary file will be created. If the file was created, the file
    will be deleted upon exiting the context manager (no exception is
    raised if the file was deleted prior to the context manager
    exiting).
    )r
�as_filerrrs  rrrVs&���?�?�7�=�=��1�N�8�4L�L�M�Mr)zutf-8�strict)�	functoolsr�pathlib�types�warnings�typingrrrrrr�r
�
ModuleTyper�Package�Resourcerr �bytesr#r(r,r0�boolr8�Pathr�rr�<module>rIs\���	����I�I��
�� � �#�%�
&����	��	��	�J��J�H�J��J�
L��L�H�L��L���		�
�	��	��	�
�		�
�	���	�
������
�	�
	��D�g�D�(�3�-�D�	��	��	��	�N�
�N��N��G�L�L�!�Nr

Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
26 May 2026 8.05 AM
root / root
0755
__init__.cpython-312.opt-1.pyc
0.624 KB
27 Apr 2026 4.36 PM
root / root
0644
__init__.cpython-312.opt-2.pyc
0.57 KB
27 Apr 2026 4.36 PM
root / root
0644
__init__.cpython-312.pyc
0.624 KB
27 Apr 2026 4.36 PM
root / root
0644
_adapters.cpython-312.opt-1.pyc
9.388 KB
27 Apr 2026 4.36 PM
root / root
0644
_adapters.cpython-312.opt-2.pyc
8.617 KB
27 Apr 2026 4.36 PM
root / root
0644
_adapters.cpython-312.pyc
9.388 KB
27 Apr 2026 4.36 PM
root / root
0644
_common.cpython-312.opt-1.pyc
8.471 KB
27 Apr 2026 4.36 PM
root / root
0644
_common.cpython-312.opt-2.pyc
7.424 KB
27 Apr 2026 4.36 PM
root / root
0644
_common.cpython-312.pyc
8.528 KB
27 Apr 2026 4.36 PM
root / root
0644
_itertools.cpython-312.opt-1.pyc
1.505 KB
27 Apr 2026 4.36 PM
root / root
0644
_itertools.cpython-312.opt-2.pyc
0.719 KB
27 Apr 2026 4.36 PM
root / root
0644
_itertools.cpython-312.pyc
1.505 KB
27 Apr 2026 4.36 PM
root / root
0644
_legacy.cpython-312.opt-1.pyc
4.731 KB
27 Apr 2026 4.36 PM
root / root
0644
_legacy.cpython-312.opt-2.pyc
3.663 KB
27 Apr 2026 4.36 PM
root / root
0644
_legacy.cpython-312.pyc
4.731 KB
27 Apr 2026 4.36 PM
root / root
0644
abc.cpython-312.opt-1.pyc
8.696 KB
27 Apr 2026 4.36 PM
root / root
0644
abc.cpython-312.opt-2.pyc
6.928 KB
27 Apr 2026 4.36 PM
root / root
0644
abc.cpython-312.pyc
8.696 KB
27 Apr 2026 4.36 PM
root / root
0644
readers.cpython-312.opt-1.pyc
8.789 KB
27 Apr 2026 4.36 PM
root / root
0644
readers.cpython-312.opt-2.pyc
8.148 KB
27 Apr 2026 4.36 PM
root / root
0644
readers.cpython-312.pyc
8.789 KB
27 Apr 2026 4.36 PM
root / root
0644
simple.cpython-312.opt-1.pyc
5.341 KB
27 Apr 2026 4.36 PM
root / root
0644
simple.cpython-312.opt-2.pyc
4.555 KB
27 Apr 2026 4.36 PM
root / root
0644
simple.cpython-312.pyc
5.341 KB
27 Apr 2026 4.36 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF Static GIF