Your IP : 18.223.156.172


Current Path : /opt/alt/python313/lib64/python3.13/pathlib/__pycache__/
Upload File :
Current File : //opt/alt/python313/lib64/python3.13/pathlib/__pycache__/_abc.cpython-313.opt-1.pyc

�

*}g����SrSSKrSSKJrJr SSKJrJrJrJ	r	J
r
 SSKJrJ
r
JrJrJrJrJr S/rSrSrS	r\\\\	4r\\\4rS
r\R4S5r"SS\5r"S
S5r"SS5r"SS\5r g)a�
Abstract base classes for rich path objects.

This module is published as a PyPI package called "pathlib-abc".

This module is also a *PRIVATE* part of the Python standard library, where
it's developed alongside pathlib. If it finds success and maturity as a PyPI
package, it could become a public part of the standard library.

Two base classes are defined here -- PurePathBase and PathBase -- that
resemble pathlib's PurePath and Path respectively.
�N)�_Globber�_no_recurse_symlinks)�ENOENT�ENOTDIR�EBADF�ELOOP�EINVAL)�S_ISDIR�S_ISLNK�S_ISREG�S_ISSOCK�S_ISBLK�S_ISCHR�S_ISFIFO�UnsupportedOperation��{i�c�`�[USS5[;=(d [USS5[;$)N�errno�winerror)�getattr�_IGNORED_ERRNOS�_IGNORED_WINERRORS)�	exceptions �3/opt/alt/python313/lib64/python3.13/pathlib/_abc.py�
_ignore_errorr&s1���I�w��-��@�
G��I�z�4�0�4F�F�H�c�*�URS5S:H$)N�Aa)�normcase)�parsers r�_is_case_sensitiver"+s���?�?�4� �D�(�(rc��\rSrSrSrSrg)r�0zVAn exception that is raised when an unsupported operation is called on
a path object.
�N)�__name__�
__module__�__qualname__�__firstlineno__�__doc__�__static_attributes__r%rrrr0s���	rc�V�\rSrSrSr\S5r\S5rSr	Sr
SrSrS	r
S
rg)�
ParserBase�7abBase class for path parsers, which do low-level path manipulation.

Path parsers provide a subset of the os.path API, specifically those
functions needed to provide PurePathBase functionality. Each PurePathBase
subclass references its path parser via a 'parser' class attribute.

Every method in this base class raises an UnsupportedOperation exception.
c�&�URSUS3$�N�.z is unsupported�r&��cls�	attributes  r�_unsupported_msg�ParserBase._unsupported_msgA����,�,��q���?�;�;rc�6�[URS55e)z/The character used to separate path components.�sep�rr6��selfs rr:�ParserBase.sepEs��#�4�#8�#8��#?�@�@rc�6�[URS55e)zJoin path segments.zjoin()r;�r=�path�pathss   r�join�ParserBase.joinJs��"�4�#8�#8��#B�C�Crc�6�[URS55e)z�Split the path into a pair (head, tail), where *head* is everything
before the final path separator, and *tail* is everything after.
Either part may be empty.
zsplit()r;�r=rAs  r�split�ParserBase.splitNs��
#�4�#8�#8��#C�D�Drc�6�[URS55e)z�Split the path into a 2-item tuple (drive, tail), where *drive* is
a device name or mount point, and *tail* is everything after the
drive. Either part may be empty.zsplitdrive()r;rFs  r�
splitdrive�ParserBase.splitdriveU���#�4�#8�#8��#H�I�Irc�6�[URS55e)zNormalize the case of the path.z
normcase()r;rFs  rr �ParserBase.normcase[s��"�4�#8�#8��#F�G�Grc�6�[URS55e)zXReturns whether the path is absolute, i.e. unaffected by the
current directory or drive.zisabs()r;rFs  r�isabs�ParserBase.isabs_s��#�4�#8�#8��#C�D�Drr%N)r&r'r(r)r*�classmethodr6�propertyr:rCrGrJr rPr+r%rrr-r-7sO����<��<��A��A�D�E�J�H�Err-c�`�\rSrSrSrSr\"5r\r	Sr
SrSrSr
\S5r\S	5r\S
5r\S5r\S5r\S
5r\S5rSrSrSrSS.SjrSr\S5rSrSrSr\S5r\S5r \S5r!Sr"\S5r#SS .S!jr$SS .S"jr%Sr&g)#�PurePathBase�eaEBase class for pure path objects.

This class *does not* provide several magic methods that are defined in
its subclass PurePath. They are: __fspath__, __bytes__, __reduce__,
__hash__, __eq__, __lt__, __le__, __gt__, __ge__. Its initializer and path
joining methods accept only strings, not os.PathLike objects more broadly.
)�	_raw_path�
_resolvingc��U(aURR"U/UQ76OUUl[UR[5(d,[S[
UR5R<35eSUlg)Nzpath should be a str, not F)	r!rCrW�
isinstance�str�	TypeError�typer&rXr@s   r�__init__�PurePathBase.__init__{sb��;@����)�)�$�7��7�d����$�.�.�#�.�.��,�T�$�.�.�-A�-J�-J�,M�N�P�
P���rc��[U5"U6$)z�Construct a new path object from any number of path-like objects.
Subclasses may override this method to customize how new path objects
are created from methods like `iterdir()`.
)r]�r=�pathsegmentss  r�
with_segments�PurePathBase.with_segments�s��
�D�z�<�(�(rc��UR$)zSReturn the string representation of the path, suitable for
passing to system calls.)rWr<s r�__str__�PurePathBase.__str__�s���~�~�rc�`�[U5RURRS5$)zFReturn the string representation of the path with forward (/)
slashes.�/)r[�replacer!r:r<s r�as_posix�PurePathBase.as_posix�s#���4�y� � ������#�6�6rc�R�URRUR5S$)z.The drive prefix (letter or UNC path), if any.r�r!rJ�anchorr<s r�drive�PurePathBase.drive��"���{�{�%�%�d�k�k�2�1�5�5rc�R�URRUR5S$)zThe root of the path, if any.�rnr<s r�root�PurePathBase.root�rrrc� �URS$)z/The concatenation of the drive and root, or ''.r)�_stackr<s rro�PurePathBase.anchor�s���{�{�1�~�rc�R�URRUR5S$)z!The final path component, if any.rt)r!rGrWr<s r�name�PurePathBase.name�s"���{�{� � ����0��3�3rc�~�URnURS5nSUs=:a[U5S-
:aO gXS$g)zc
The final component's last suffix, if any.

This includes the leading period. For example: '.txt'
r1rrtN��r{�rfind�len�r=r{�is   r�suffix�PurePathBase.suffix�sB���y�y���J�J�s�O���q� �3�t�9�q�=� ����8�O�rc���URnURS5(a/$URS5nURS5SSVs/sHnSU-PM
 sn$s snf)zt
A list of the final component's suffixes, if any.

These include the leading periods. For example: ['.tar', '.gz']
r1rtN)r{�endswith�lstriprG)r=r{r�s   r�suffixes�PurePathBase.suffixes�s\���y�y���=�=�����I��{�{�3���+/�:�:�c�?�1�2�+>�?�+>���f��+>�?�?��?s�Ac��URnURS5nSUs=:a[U5S-
:a	O U$USU$U$)z0The final path component, minus its last suffix.r1rrtNrr�s   r�stem�PurePathBase.stem�sH���y�y���J�J�s�O���q� �3�t�9�q�=� ��K����8�O��Krc��URRnU"U5S(a[SU<35eURU"UR5SU5$)z-Return a new path with the file name changed.rz
Invalid name )r!rG�
ValueErrorrcrW)r=r{rGs   r�	with_name�PurePathBase.with_name�sO�����!�!����;�q�>��}�T�H�5�6�6��!�!�%����"7��":�D�A�Arc��URnU(dURU5$U(d[U<S35eURX-5$)z(Return a new path with the stem changed.z has a non-empty suffix)r�r�r�)r=r�r�s   r�	with_stem�PurePathBase.with_stem�sD��������>�>�$�'�'����x�'>�?�@�@��>�>�$�-�0�0rc���URnU(d[U<S35eU(a4URS5(a[U5S:�d[SU<35eUR	X!-5$)z�Return a new path with the file suffix changed.  If the path
has no suffix, add given suffix.  If the given suffix is an empty
string, remove the suffix from the path.
z has an empty namer1rtzInvalid suffix )r�r��
startswithr�r�)r=r�r�s   r�with_suffix�PurePathBase.with_suffix�sc��
�y�y�����x�'9�:�;�;�
�V�.�.�s�3�3��F��a����v�j�9�:�:��>�>�$�-�0�0rF)�walk_upc��[U[5(dURU5nURup4URupVX5:wa'[	UR
<SUR
<S35eU(aOU(aHUSUS:Xa<UR
5 UR
5 U(aU(aUSUS:XaM<UHpnU(aUS:XaMU(d&[	UR
<SUR
<35eUS:Xa[	SUR
<S35eURS5 Mr UR"S	/[U5Q76$)
aReturn the relative path to another path identified by the passed
arguments.  If the operation is not possible (because this is not
related to the other path), raise ValueError.

The *walk_up* parameter controls whether `..` may be used to resolve
the path.
z and z have different anchors���r1z is not in the subpath of �..z'..' segment in z cannot be walkedr~)	rZrUrcrxr�rW�pop�append�reversed)r=�otherr��anchor0�parts0�anchor1�parts1�parts        r�relative_to�PurePathBase.relative_to�s&���%��.�.��&�&�u�-�E��+�+����,�,���������1��u���6I�I`�a�b�b���F�2�J�&��*�$<��J�J�L��J�J�L���F�2�J�&��*�$<��D��4�3�;��� �D�N�N�#5�5O�PU�P_�P_�Ob�!c�d�d���� �#3�E�O�O�3F�FW�!X�Y�Y��
�
�d�#���!�!�"�8�x��'7�8�8rc�t�[U[5(dURU5nURup#URupEX$:wagU(aOU(aHUSUS:Xa<UR	5 UR	5 U(aU(aUSUS:XaM<UHnU(dMUS:wdM g g)zFReturn True if the path is relative to another path or False.
        Fr�r1T)rZrUrcrxr�)r=r�r�r�r�r�r�s       r�is_relative_to�PurePathBase.is_relative_tos����%��.�.��&�&�u�-�E��+�+����,�,��������F�2�J�&��*�$<��J�J�L��J�J�L���F�2�J�&��*�$<��D��t������rc�v�URupU(aURU5 [[U55$)zRAn object providing sequence-like access to the
components in the filesystem path.)rxr��tupler�)r=ro�partss   rr��PurePathBase.partss-�����
����L�L�� ��X�e�_�%�%rc�<�UR"UR/UQ76$)z�Combine this path with one or several arguments, and return a
new path representing either a subpath (if all arguments are relative
paths) or a totally different path (if one of the arguments is
anchored).
)rcrWras  r�joinpath�PurePathBase.joinpath"s���!�!�$�.�.�@�<�@�@rc�h�URURU5$![a	 [s$f=f�N�rcrWr\�NotImplemented�r=�keys  r�__truediv__�PurePathBase.__truediv__*s3��	"��%�%�d�n�n�c�:�:���	"�!�!�	"�s��1�1c�f�URXR5$![a	 [s$f=fr�r�r�s  r�__rtruediv__�PurePathBase.__rtruediv__0s1��	"��%�%�c�>�>�:�:���	"�!�!�	"�s��0�0c��URRnURnU"U5up4/nX#:wa$URU5 UnU"U5up4X#:waM$X%4$)z�
Split the path into a 2-tuple (anchor, parts), where *anchor* is the
uppermost parent of the path (equivalent to path.parents[-1]), and
*parts* is a reversed list of parts following the anchor.
)r!rGrWr�)r=rGrA�parentr{�namess      rrx�PurePathBase._stack6s^�����!�!���~�~���T�{������n��L�L����D� ��;�L�F��n��{�rc��URnURRU5SnX:wa$URU5nURUlU$U$)zThe logical parent of the path.r)rWr!rGrcrX)r=rAr�s   rr��PurePathBase.parentGsQ���~�~�����"�"�4�(��+���>��'�'��/�F� $���F���M��rc���URRnURnU"U5Sn/nX#:wa4URUR	U55 UnU"U5SnX#:waM4[U5$)z*A sequence of this path's logical parents.r)r!rGrWr�rcr�)r=rGrAr��parentss     rr��PurePathBase.parentsRso�����!�!���~�~���t��Q������n��N�N�4�-�-�f�5�6��D��4�[��^�F��n��W�~�rc�L�URRUR5$)zKTrue if the path is absolute (has both a root and, if applicable,
a drive).)r!rPrWr<s r�is_absolute�PurePathBase.is_absolute_s���{�{� � ����0�0rc��[U5$)z<The path expressed as a string, for use in pattern-matching.)r[r<s r�_pattern_str�PurePathBase._pattern_strds���4�y�rN)�case_sensitivec� �[U[5(dURU5nUc[UR5nURR
nURSSS2nURSSS2nU(d[S5e[U5[U5:ag[U5[U5:�aUR(agURX25n[XE5H!upxURU5n	U	"U5bM! g g)z�
Return True if this path matches the given pattern. If the pattern is
relative, matching is done from the right; otherwise, the entire path
is matched. The recursive wildcard '**' is *not* supported by this
method.
Nr�z
empty patternFT)
rZrUrcr"r!r:r�r�r�ro�_globber�zip�compile)
r=�path_patternr�r:�
path_parts�
pattern_parts�globber�	path_part�pattern_part�matchs
          rr��PurePathBase.matchis����,��5�5��-�-�l�;�L��!�/����<�N��!�!�%�%���Z�Z��"��%�
�$�*�*�4�R�4�0�
���_�-�-��z�?�S��/�/���z�?�S��/�/�L�4G�4G���-�-��4��'*�:�'E�#�I��O�O�L�1�E��Y��'��(F�rc�&�[U[5(dURU5nUc[UR5nURURRUSS9nURUR5nU"UR5SL$)zp
Return True if this path matches the given glob-style pattern. The
pattern is matched against the entire path.
NT)�	recursive)	rZrUrcr"r!r�r:r�r�)r=�patternr�r�r�s     r�
full_match�PurePathBase.full_match�s}��
�'�<�0�0��(�(��1�G��!�/����<�N��-�-���� 2� 2�N�d�-�S������ 4� 4�5���T�&�&�'�t�3�3r)'r&r'r(r)r*�	__slots__r-r!rr�r^rcrfrkrSrpruror{r�r�r�r�r�r�r�r�r�r�r�r�rxr�r�r�r�r�r�r+r%rrrUrUeso���	�I��\�F��H� �)��
7�
�6��6��6��6������4��4������
@��
@�����B�	1�1�-2�9�8�"�&��&�A�"�"����� �����
��
�1�
����59��659�4�4rrUc���\rSrSrSrSrSr\S5rSS.Sjr	S	r
SS.S
jrSS.SjrSS.Sjr
S
rSrSrSrSrSrSrSrS6SjrSrS7SjrSrS7SjrSrSrSSS.SjrSSS.SjrS8S!jrS"r \S#5r!S$r"\S%5r#S&r$S \$l%S9S'jr&S9S(jr'S)r(S:S*jr)S;S+jr*S,r+S-r,SS.S.jr-S/r.S9S0jr/S1r0SS.S2jr1SS.S3jr2\S45r3S5r4Sr5g)<�PathBasei�aBBase class for concrete path objects.

This class provides dummy implementations for many methods that derived
classes can override selectively; the default implementations raise
UnsupportedOperation. The most basic methods, such as stat() and open(),
directly raise UnsupportedOperation; these basic methods are called by
other methods such as is_dir() and read_text().

The Path class derives this class to implement local filesystem paths.
Users may derive their own classes to implement virtual filesystem paths,
such as paths in archive files or on remote storage systems.
r%�(c�&�URSUS3$r0r2r3s  rr6�PathBase._unsupported_msg�r8rT��follow_symlinksc�6�[URS55e)zP
Return the result of the stat() system call on this path, like
os.stat() does.
zstat()r;�r=r�s  r�stat�
PathBase.stat�s��
#�4�#8�#8��#B�C�Crc� �URSS9$)z~
Like stat(), except if the path points to a symlink, the symlink's
status information is returned, rather than its target's.
Fr�)r�r<s r�lstat�PathBase.lstat�s��
�y�y��y�/�/rc��URUS9 g![an[U5(deSnAgSnAf[a gf=f)z�
Whether this path exists.

This method normally follows symlinks; to check whether a symlink exists,
add the argument follow_symlinks=False.
r�NFT)r��OSErrorrr��r=r��es   r�exists�PathBase.exists�sH��	��I�I�o�I�6����	� ��#�#�����	��	�s��
A�2�
A�Ac��[URUS9R5$![an[	U5(deSnAgSnAf[
a gf=f)z#
Whether this path is a directory.
r�NF)r
r��st_moder�rr�r�s   r�is_dir�PathBase.is_dir�sQ��
	��4�9�9�_�9�E�M�M�N�N���	� ��#�#�����	��	���!$�
A�A�
A�Ac��[URUS9R5$![an[	U5(deSnAgSnAf[
a gf=f)zY
Whether this path is a regular file (also True for symlinks pointing
to regular files).
r�NF)rr�r�r�rr�r�s   r�is_file�PathBase.is_file�sQ��

	��4�9�9�_�9�E�M�M�N�N���	� ��#�#�����	��	�r�c��UR5(aUR5(dgURR5RnUR5RnX!:wagUR5RnURR5RnX4:H$![
a gf=f)z%
Check if this path is a mount point
FT)r�r�r�r��st_devr��st_ino)r=�
parent_dev�dev�ino�
parent_inos     r�is_mount�PathBase.is_mount�s���
�{�{�}�}�D�K�K�M�M��	����)�)�+�2�2�J��i�i�k� � ������i�i�k� � ���[�[�%�%�'�.�.�
�� � ���	��	�s�$B3�3
C�?Cc��[UR5R5$![an[	U5(deSnAgSnAf[
a gf=f)z'
Whether this path is a symbolic link.
NF)rr�r�r�rr��r=r�s  r�
is_symlink�PathBase.is_symlinksJ��		��4�:�:�<�/�/�0�0���	� ��#�#�����	��	���"%�
A�A�
A�Ac��g)z"
Whether this path is a junction.
Fr%r<s r�is_junction�PathBase.is_junctions��rc��[UR5R5$![an[	U5(deSnAgSnAf[
a gf=f)z&
Whether this path is a block device.
NF)rr�r�r�rr�rs  r�is_block_device�PathBase.is_block_device�L��
	��4�9�9�;�.�.�/�/���	� ��#�#�����	��	�rc��[UR5R5$![an[	U5(deSnAgSnAf[
a gf=f)z*
Whether this path is a character device.
NF)rr�r�r�rr�rs  r�is_char_device�PathBase.is_char_device)rrc��[UR5R5$![an[	U5(deSnAgSnAf[
a gf=f)z
Whether this path is a FIFO.
NF)rr�r�r�rr�rs  r�is_fifo�PathBase.is_fifo9�L��
	��D�I�I�K�/�/�0�0���	� ��#�#�����	��	�rc��[UR5R5$![an[	U5(deSnAgSnAf[
a gf=f)z 
Whether this path is a socket.
NF)r
r�r�r�rr�rs  r�	is_socket�PathBase.is_socketIrrc��UR5nUR5nURUR:H=(a URUR:H$![a" URU5R5nNdf=f)z_Return whether other_path is the same or not as this file
(as returned by os.path.samefile()).
)r��AttributeErrorrcr�r�)r=�
other_path�st�other_sts    r�samefile�PathBase.samefileYsv���Y�Y�[��	=�!���(�H��	�	�X�_�_�,�-��	�	�X�_�_�,�	.���	=��)�)�*�5�:�:�<�H�	=�s�A�)B�BNc�6�[URS55e)zg
Open the file pointed to by this path and return a file object, as
the built-in open() function does.
zopen()r;)r=�mode�	buffering�encoding�errors�newlines      r�open�
PathBase.openes��#�4�#8�#8��#B�C�Crc�v�URSS9nUR5sSSS5 $!,(df   g=f)z;
Open the file in bytes mode, read it, and close the file.
�rb�r"N�r'�read)r=�fs  r�
read_bytes�PathBase.read_bytesms)���Y�Y�D�Y�
!�Q��6�6�8�"�
!�
!�s�*�
8c�z�URSXUS9nUR5sSSS5 $!,(df   g=f)z:
Open the file in text mode, read it, and close the file.
�r�r"r$r%r&Nr,)r=r$r%r&r.s     r�	read_text�PathBase.read_textts/���Y�Y�C�(�7�Y�
S�WX��6�6�8�T�
S�
S�s�,�
:c��[U5nURSS9nURU5sSSS5 $!,(df   g=f)z?
Open the file in bytes mode, write to it, and close the file.
�wbr+N)�
memoryviewr'�write)r=�data�viewr.s    r�write_bytes�PathBase.write_bytes{s5��
�$���
�Y�Y�D�Y�
!�Q��7�7�4�=�"�
!�
!�s	�6�
Ac���[U[5(d"[SURR-5eURSX#US9nUR
U5sSSS5 $!,(df   g=f)z>
Open the file in text mode, write to it, and close the file.
zdata must be str, not %s�wr3N)rZr[r\�	__class__r&r'r9)r=r:r$r%r&r.s      r�
write_text�PathBase.write_text�s`���$��$�$��6� �N�N�3�3�4�5�
5�
�Y�Y�C�(�7�Y�
S�WX��7�7�4�=�T�
S�
S�s�	A$�$
A2c�6�[URS55e)z�Yield path objects of the directory contents.

The children are yielded in arbitrary order, and the
special entries '.' and '..' are not included.
z	iterdir()r;r<s r�iterdir�PathBase.iterdir�s��#�4�#8�#8��#E�F�Frc���Uc[UR5nSnOSnU(aSO[nURURRX$U5nURU5$)NFT)r"r!rr�r:�selector)r=r�r��recurse_symlinks�
case_pedanticr�r�s       r�_glob_selector�PathBase._glob_selector�sX���!�/����<�N�!�M�
!�M�,�D�2F�	��-�-�������PY�Z������&�&r�r�rHc���[U[5(dURU5nURupEU(a[	S5eURXRU5nU"U5$)z�Iterate over this subtree and yield all existing files (of any
kind, including directories) matching the given relative pattern.
z%Non-relative patterns are unsupported)rZrUrcrx�NotImplementedErrorrJ)r=r�r�rHror��selects       r�glob�
PathBase.glob�sX���'�<�0�0��(�(��1�G����
���%�&M�N�N��$�$�U�<L�M���d�|�rc�x�[U[5(dURU5nSU-nURXUS9$)z�Recursively yield all existing files (of any kind, including
directories) matching the given relative pattern, anywhere in
this subtree.
z**rL)rZrUrcrP)r=r�r�rHs    r�rglob�PathBase.rglob�s>��
�'�<�0�0��(�(��1�G���.���y�y��Rb�y�c�crFc#�# �U/nU(GaUR5n[U[5(aUv� M3/n/nU(dURXVU45 UR	5HhnURUS9(a5U(dURU5 URUR5 MMURUR5 Mj U(a3XVU4v� U[U5V
s/sHo�RU
5PM sn
-
nU(aGM
gg![a URUR5 M�f=f![agn	UbU"U	5 U(dI[UR5[5(d&[UR5[5(dM&Sn	A	GM�Sn	A	ff=fs sn
f7f)zBWalk the directory tree from this directory, similar to os.walk().r�N)
r�rZr�r�rDr�r{r�r�r�)r=�top_down�on_errorr�rBrA�dirnames�	filenames�child�error�ds           r�walk�
PathBase.walk�sY��������9�9�;�D��$��&�&��
���H��I�����d�i�8�9�
�!�\�\�^�E�5� �<�<��<�H�#+� %���U� 3�$�O�O�E�J�J�7�%�,�,�U�Z�Z�8�,�"��i�/�/��H�X�4F�G�4F�q�-�-��*�4F�G�G��;�e��$#�5�!�(�(����4�5���
��'��U�O��(�����e�<�<��)�����e�<�<���

��H�st�AF?�E�,AD�3E�5D�E�F?�/F:�	F?�F?�%E�?E�E�E�
F7�AF2�+F?�2F7�7F?c�6�[URS55e)z�Return an absolute version of this path
No normalization or symlink resolution is performed.

Use resolve() to resolve symlinks and remove '..' segments.
z
absolute()r;r<s r�absolute�PathBase.absolute�s��#�4�#8�#8��#F�G�Grc�.�U"S5R5$)z<Return a new path pointing to the current working directory.r~)r`�r4s r�cwd�PathBase.cwd�s���2�w���!�!rc�6�[URS55e)z[Return a new path with expanded ~ and ~user constructs
(as returned by os.path.expanduser)
zexpanduser()r;r<s r�
expanduser�PathBase.expanduser�rLrc�.�U"S5R5$)z7Return a new path pointing to expanduser('~').
        �~)rgrcs r�home�
PathBase.home�s���3�x�"�"�$�$rc�6�[URS55e)z4
Return the path to which the symbolic link points.
z
readlink()r;r<s r�readlink�PathBase.readlink�s��#�4�#8�#8��#F�G�Grc�,�UR(aU$URup#URU5nUR5nURup%UR	5 U=(d [
URSS5nSnU(Ga�UR5nU(aUS:XaM'US:Xa,U(d
U(aM=OUSS:waUR5 MYURU5 U(Ga3US:wGa,URX RRRU5-5nSUlURSS9n	[U	R5(a�US	-
nXpR :�a[#[$S
UR&5eUR5Rup�U
(aU
nUR)5 OUR5 UR+U5 GMiU(a5[-U	R5(d[/[0SUR&5eU(aGM�URX RRRU5-5$![
a /nGNf=f!["a
 U(aeSnNif=f)zT
Make the path absolute, resolving all symlinks on the way and also
normalizing it.
�
_supportedTrr1r�r�Fr�rtzToo many symbolic links in pathzNot a directory)rXrxrcr`�reverserrrnr�r�r!r:rCr�rr��
_max_symlinksr�rrW�clear�extendr
�NotADirectoryErrorr)r=�strict�	path_rootr�rA�	path_tail�querying�
link_countr�r�target_root�target_partss            r�resolve�PathBase.resolve�s��
�?�?��K��;�;��	��!�!�)�,��	 ��=�=�?�D�$(�;�;� �I������G�W�T�]�]�L�$�G���
���9�9�;�D��4�3�;���t�|� � � �!��r�]�d�*��M�M�O�����T�"��D�D�L��)�)�)�k�k�o�o�6J�6J�9�6U�*U�V��"&���)����5��9�B��r�z�z�*�*�#�a��
�%�);�);�;�")�%�1R�TX�Tb�Tb�"c�c�48�M�M�O�4J�4J�1��'�(3�I�%�O�O�-�%�M�M�O����\�2� ��w�r�z�z�':�':�0��:K�T�^�^�\�\�M�e�X�!�!�)�k�k�o�o�.B�.B�9�.M�"M�N�N��m$�	��I�	��b�)���#(��	)�s*�I)�;B/I<�-<I<�)I9�8I9�<J�Jc�6�[URS55e)z�
Make this path a symlink pointing to the target path.
Note the order of arguments (link, target) is the reverse of os.symlink.
zsymlink_to()r;)r=�target�target_is_directorys   r�
symlink_to�PathBase.symlink_toBs��
#�4�#8�#8��#H�I�Irc�6�[URS55e)z�
Make this path a hard link pointing to the same file as *target*.

Note the order of arguments (self, target) is the reverse of os.link's.
z
hardlink_to()r;�r=r�s  r�hardlink_to�PathBase.hardlink_toIs��#�4�#8�#8��#I�J�Jrc�6�[URS55e)zC
Create this file with the given access mode, if it doesn't exist.
ztouch()r;)r=r"�exist_oks   r�touch�PathBase.touchQ���#�4�#8�#8��#C�D�Drc�6�[URS55e)z,
Create a new directory at this given path.
zmkdir()r;)r=r"r�r�s    r�mkdir�PathBase.mkdirWr�rc�6�[URS55e)a
Rename this path to the target path.

The target path may be absolute or relative. Relative paths are
interpreted relative to the current working directory, *not* the
directory of the Path object.

Returns the new Path instance pointing to the target path.
zrename()r;r�s  r�rename�PathBase.rename]s��#�4�#8�#8��#D�E�Erc�6�[URS55e)a#
Rename this path to the target path, overwriting if that path exists.

The target path may be absolute or relative. Relative paths are
interpreted relative to the current working directory, *not* the
directory of the Path object.

Returns the new Path instance pointing to the target path.
z	replace()r;r�s  rrj�PathBase.replaceis��#�4�#8�#8��#E�F�Frc�6�[URS55e)z6
Change the permissions of the path, like os.chmod().
zchmod()r;)r=r"r�s   r�chmod�PathBase.chmodur�rc�$�URUSS9 g)zx
Like chmod(), except if the path points to a symlink, the symlink's
permissions are changed, rather than its target's.
Fr�N)r�)r=r"s  r�lchmod�PathBase.lchmod{s��
	
�
�
�4��
�/rc�6�[URS55e)zL
Remove this file or link.
If the path is a directory, use rmdir() instead.
zunlink()r;)r=�
missing_oks  r�unlink�PathBase.unlink�s��
#�4�#8�#8��#D�E�Erc�6�[URS55e)z6
Remove this directory.  The directory must be empty.
zrmdir()r;r<s r�rmdir�PathBase.rmdir�r�rc�6�[URS55e)z*
Return the login name of the file owner.
zowner()r;r�s  r�owner�PathBase.owner�r�rc�6�[URS55e)z(
Return the group name of the file gid.
zgroup()r;r�s  r�group�PathBase.group�r�rc�6�[URS55e)z,Return a new path from the given 'file' URI.z
from_uri()r;)r4�uris  r�from_uri�PathBase.from_uri�s��#�3�#7�#7��#E�F�Frc�6�[URS55e)zReturn the path as a URI.zas_uri()r;r<s r�as_uri�PathBase.as_uri�s��"�4�#8�#8��#D�E�Er)r2r�NNN)NNN)TNF)F)i�T)i�FF)6r&r'r(r)r*r�rsrRr6r�r�r�r�r�rrr
r
rrrrr'r/r4r<rArDrJrPrSr]r`rdrgrkrnrqr~r�r�r�r�r�rjr�r�r�r�r�r�r�r�r+r%rrr�r��s�����I��M��<��<�'+�D�0�)-��$)-�� *.��"!�(
��� � � � 
.�59�"&�D���!�!�G�'�/3�T�
�04�d�d� H�DH��"��"�J��%��%�
H�
 �H��AO�FJ�K�E�E�
F�
G�.2�E�0�F�E�(,�E�(,�E��G��G�Frr�)!r*�	functoolsrPrrrrrrrr	r�r
rrr
rrr�__all__�_WINERROR_NOT_READY�_WINERROR_INVALID_NAME�_WINERROR_CANT_RESOLVE_FILENAMErrr�cacher"rNrr-rUr�r%rr�<module>r�s�����/�7�7�P�P�P�"�
"������"&���7�E�5�1����#�%��
H�
���)��)�	�.�	�+E�+E�\j4�j4�\	OF�|�OFr

?>