Mini Kabibi Habibi

Current Path : C:/Users/ITO/AppData/Local/Programs/Python/Python314/Lib/pathlib/__pycache__/
Upload File :
Current File : C:/Users/ITO/AppData/Local/Programs/Python/Python314/Lib/pathlib/__pycache__/_os.cpython-314.pyc

+
��hI��t�Rt^RI5^RIHtHt^RIHtHtHtH	t	^RI
t
^RIt^RIt^RIt^RItRt]'d]!]R4'dRtMRt]'d]!]R4'dR	tMRt]!]
R
4'dRtMRt]!]
R4'dR
tMRt]'d]!]R4'dRtMRtRtRRltRtRtRRlt!RR4t!RR]4t!RR]4t]
P>R8Xd]M]t !RR]4t!R# ]
dRtL�i;i ]
dRtL�i;i ]
dRtELi;i) z6
Low-level OS functionality wrappers used by pathlib.
)�*)�
TextIOWrapper�
text_encoding)�S_ISDIR�S_ISREG�S_ISLNK�S_IMODENc���\\P!V4PR4p\
PR8d
\VR4pV# \dRpL2i;i)aNDetermine blocksize for fastcopying on Linux.
Hopefully the whole file will be copied in a single call.
The copying itself should be performed in a loop 'till EOF is
reached (0 return) so a blocksize smaller or bigger than the actual
file size should not make any difference, also in case the file
content changes while being copied.
i�ili@)�max�os�fstat�st_size�OSError�sys�maxsize�min)�infd�	blocksizes& �GC:\Users\ITO\AppData\Local\Programs\Python\Python314\Lib\pathlib\_os.py�_get_copy_blocksizersW���������.�.��8�	�
�{�{�W���	�7�+�	����
���	��s�*A�
A�A�FICLONEc�R�\P!V\PV4R#)z�
Perform a lightweight copy of two files, where the data blocks are
copied only when modified. This is known as Copy on Write (CoW),
instantaneous copy or reflink.
N)�fcntl�ioctlr��	source_fd�	target_fds&&r�_ficloner,s��	���I�u�}�}�i�8��
_fcopyfilec�P�\P!W\P4R#)zR
Copy a regular file content using high-performance fcopyfile(3)
syscall (macOS).
N)�posixr�_COPYFILE_DATArs&&rrr8s��
	����u�/C�/C�Dr�copy_file_rangec�v�\V4p^p\P!WVVR7pV^8XdR#W4,
pK-)z�
Copy data from one regular mmap-like fd to another by using a
high-performance copy_file_range(2) syscall that gives filesystems
an opportunity to implement the use of reflinks or server-side
copy.
This should work on Linux >= 4.5 only.
)�
offset_dstN)rrr#�rrr�offset�sents&&   r�_copy_file_ranger)Cs>��(�	�2�	�����%�%�i�I�17�9�D��q�y���N�Fr�sendfilec�r�\V4p^p\P!WW24pV^8XdR#W4,
pK+)z�Copy data from one regular mmap-like fd to another by using
high-performance sendfile(2) syscall.
This should work on Linux >= 2.6.33 only.
N)rrr*r&s&&   r�	_sendfiler,Xs7��
(�	�2�	�����;�;�y�V�G�D��q�y���N�Fr�	CopyFile2c�4�\P!W^4R#)z?
Copy from one file to another using CopyFile2 (Windows only).
N)�_winapir-)�source�targets&&r�	copyfile2r2is��	���&�!�,rc���VP4pVP4p\'d\W#4R#\'d\W#4R#\'d\W#4R#\'d\W#4R#TP$pTP&pT!R4;p'dT!T4KR# \d2pTP\\
\\39dThRp?L�Rp?ii;i \d(pTP\\39dThRp?L�Rp?ii;i \d(pTP\\39dThRp?L�Rp?ii;i \d#pTP\8wdThRp?ELRp?ii;i \d*pTPTnTPTnThRp?ii;i \"dELRi;i)zH
Copy data from file-like object source_f to file-like object target_f.
Ni)�filenorr�errno�EBADF�
EOPNOTSUPP�ETXTBSY�EXDEVr�EINVAL�ENOTSUPr)r,�ENOTSOCK�name�filename�	filename2�	Exception�read�write)�source_f�target_frr�err�read_source�write_target�bufs&&      r�copyfileobjrIrs���*��O�O�%�	��O�O�%�	�$	��x�"��Y�2���z�"��y�4�� ��"�$�Y�:���y�"��i�3����-�-�K��>�>�L��[�)�
)�#�
)��S��*��G�"��y�y��
�G�U�(K�K�!�	�L��"���"��y�y���(9�9�!�	�:��"���"��y�y��%�(8�8�!�	�9��"���"��y�y�H�,�!�	�-��"���	�#�=�=�C�L�$�M�M�C�M��I��		��G�
��
�s�� G�F�C�F�
C?�F�$D4�1F�>E)�C<�'C7�2F�7C<�<F�?D1�
D,�'F�,D1�1F�4E&�?E!�F�!E&�&F�)F�4F�F�F�F�G
�$$G�G
�G�Gc�@�RV9pV'd\V4p\WW#WE4# \dMi;i\T4pRP	\RT444pT'd-\
TRTR24pT!YY4T4# \dM1i;iTe\R4hTe\R4hTe\R4h\
TRTR	24pT!Y4p	T'd
\Y�YE4p	T	# \dMi;i\TPR
T:24h)zg
Open the file pointed to by this path and return a file object, as
the built-in open() function does.
�b�c3�6"�TFqR9gKVx�K	R#5i)�btN�)�.0�cs& r�	<genexpr>�magic_open.<locals>.<genexpr>�s���;�T��d�]�!�!�T�s��
�__open_�__z-binary mode doesn't take an encoding argumentz+binary mode doesn't take an errors argumentz+binary mode doesn't take a newline argument�b__z can't be opened with mode )r�open�	TypeError�type�join�sorted�getattr�AttributeError�
ValueErrorr�__name__)
�path�mode�	buffering�encoding�errors�newline�text�cls�attr�streams
&&&&&&    r�
magic_openrj�sJ���d�?�D��!��*��
��D�	�V�E�E���
��
��
�t�*�C�
�7�7�6�;�T�;�;�<�D��	D��3�'�$��r� 2�3�D����7�C�C���	��	��
�	��H�I�I�	�	��F�G�G�	�	��F�G�G���s�g�d�V�3�/�0���d�&���"�6�V�E�F��
��
�
��
���s�|�|�n�$?��x�H�
I�Is0�'�5�5�-B�B�B�C4�4D�Dc��W8Xd\\R4pM#WP9d\\R4pMR#\V4Vn\V4VnVh)z>
Raise OSError(EINVAL) if the other path is within this path.
z#Source and target are the same pathz&Source path is a parent of target pathN)rr:�parents�strr>r?)r0r1rEs&& r�ensure_distinct_pathsrn�sL�����f�C�D��	�>�>�	!��f�F�G����v�;�C�L���K�C�M�

�Irc�N�VPPpVPPpV!4V!48wdR#\\
R4p\
T4Tn\
T4TnTh \\3dR#i;i \d
Y8wdR#L`i;i)z=
Raise OSError(EINVAL) if both paths refer to the same file.
Nz#Source and target are the same file)	�info�_file_idrr^r]r:rmr>r?)r0r1�source_file_id�target_file_idrEs&&   r�ensure_different_filesrt�s�������-�-�����-�-��
	���>�#3�3��4��&�?�
@�C��v�;�C�L���K�C�M�

�I����$�	��	���������s"�,B
�A5�5B
�	B
�
B$�#B$c�t�\VR4;'d@\VR4;'d,T;'g"\P\P9pV'd?VP	VR7pVPVR7p\P!WV3VR7\VR4;'dD\\R4;'d,T;'g"\P\P9pV'd7VPVR7pVFwr�\P!WW�R7K 	\VR4;'d,T;'g"\P\P9pV'd,VP!VR7p\P!WVR7\VR	4;'dD\\R
4;'d,T;'g"\P$\P9p
V
'd.VP'VR7p\P$!WVR7R#R# \d8p
T
P\\\\\39dhRp
?
EK_Rp
?
ii;i \"dL�i;i \d(pTP\(\39dhRp?R#Rp?ii;i)z>Copy metadata from the given PathInfo to the given local path.�_access_time_ns�_mod_time_ns��follow_symlinks)�nsry�_xattrs�setxattrN�_posix_permissions�
_bsd_flags�chflags)�hasattrr�utime�supports_follow_symlinksrvrwr|r{rr5�EPERMr;�ENODATAr:�EACCES�chmodr}�NotImplementedErrorrr~r7)rpr1ry�
copy_times_ns�t0�t1�copy_xattrs�xattrsrh�value�e�copy_posix_permissions�posix_permissions�copy_bsd_flags�	bsd_flags�whys&&&             r�	copy_infor��s]��	��'�(�	E�	E���n�%�	E�	E�	�	C�	C�B�H�H��(C�(C�C���
�
!�
!�/�
!�
B��
�
�
��
�
?��
�����H�o�F�
	��i� �	H�	H���J��	H�	H�	�	F�	F�B�K�K�2�+F�+F�F������o��>��!�K�D�
����F�%�Q�"�	��*�+�	E�	E�	�	C�	C�B�H�H��(C�(C�C��� �3�3�O�3�T��
	��H�H�V��P�	��l�#�	G�	G���I��	G�	G�	�	E�	E�B�J�J�"�*E�*E�E����O�O�O�O�D�	�	��J�J�v�/�J���9�
��7�7�5�'�7�F�F�"K�K��L��
��#�	�
�	��*�	��y�y��W� 5�5��6��	�sB�H/�	I4�J�/I1�:+I,�,I1�4J�J�J7�J2�2J7c��a�]tRtRtoRtRtRtRRRR/RltRR/R	ltRR/R
lt	RR/Rlt
RR/Rlt]!]
PR
4'dRR/Rlt]!]
R4'dRR/RltRtVtR#RtVtR#)�
_PathInfoBasei:c�&�\V4VnR#�N)rm�_path)�selfr`s&&r�__init__�_PathInfoBase.__init__=s
����Y��
rc�@�\PR8XdRMRpRVR2#)�nt�WindowsPath�	PosixPath�<z.info>)rr=)r��	path_types& r�__repr__�_PathInfoBase.__repr__@s"��%'�W�W��_�M�+�	��9�+�V�$�$rryT�
ignore_errorsFc�V�V'dOVPpV'gVeV#\P!VP4VnVP#VPpV'gVeV#\P!VP4VnVP# \dL�i;i \
\3dRTnT'ghTP#i;i \dL�i;i \
\3dRTnT'ghTP#i;i)zZReturn the status as an os.stat_result, or None if stat() fails and
ignore_errors is true.N)	�_stat_resultr]r�statr�rr^�
_lstat_result�lstat)r�ryr��results&$$ r�_stat�_PathInfoBase._statDs.���
"��*�*��!�F�$6�!�M�%7�
�$&�G�G�D�J�J�$7��!�
�$�$�$�
"��+�+��!�F�$6�!�M�%7�
�%'�X�X�d�j�j�%9��"�
�%�%�%��5"�
��
���Z�(�
�$(��!�$��%��$�$�$�	
��"�
��
���Z�(�
�%)��"�$��%��%�%�%�	
�sR�B%�%B6�C(�4%C9�%B3�2B3�6C%�C%�$C%�(C6�5C6�9D(�D(�'D(c�L�\VPVR7P4#)z"Return the POSIX file permissions.rx)rr��st_mode�r�rys&$rr}� _PathInfoBase._posix_permissionsfs���t�z�z�/�z�B�J�J�K�Krc�V�VPVR7pVPVP3#)z#Returns the identifier of the file.rx)r��st_dev�st_ino�r�ry�sts&$ rrq�_PathInfoBase._file_idjs%��
�Z�Z��Z�
8���y�y�"�)�)�#�#rc�:�VPVR7P#)z&Return the access time in nanoseconds.rx)r��st_atime_nsr�s&$rrv�_PathInfoBase._access_time_nso����z�z�/�z�:�F�F�Frc�:�VPVR7P#)z&Return the modify time in nanoseconds.rx)r��st_mtime_nsr�s&$rrw�_PathInfoBase._mod_time_nssr�r�st_flagsc�:�VPVR7P#)zReturn the flags.rx)r�r�r�s&$rr~�_PathInfoBase._bsd_flagsxs���:�:�o�:�>�G�G�Gr�	listxattrc
�@�\P!VPVR7Uu.uF'pV\P!VPW!R73NK)	up#uupi \d8pTP
\\\\\39dh.uRp?#Rp?ii;i)zmReturn the xattrs as a list of (attr, value) pairs, or an empty
list if extended attributes aren't supported.rxN)rr�r��getxattrrr5r�r;r�r:r�)r�ryrhrEs&$  rr{�_PathInfoBase._xattrs}s���
�!#���T�Z�Z�� Y�[� Y���2�;�;�t�z�z�4�Y�Z� Y�[�[��[���
��9�9�U�G�W�f�f�$M�M���	��
�s.�$A�-A�A�A�B�&,B�B�B)r�r�r�N)r�r�r�)r_�
__module__�__qualname__�__firstlineno__�	__slots__r�r�r�r}rqrvrwr�r�stat_resultr~r{�__static_attributes__�__classdictcell__��
__classdict__s@rr�r�:s�����:�I��%� &�t� &�5� &�DL�D�L�$�$�$�
G��G�G�d�G��r�~�~�z�*�*�	H��	H��r�;���
	�T�
	�
	� rr�c�Xa�]tRtRtoRtR	tRR/RltRR/RltRR/RltRt	R	t
VtR
#)�_WindowsPathInfoi�z�Implementation of pathlib.types.PathInfo that provides status
information for Windows paths. Don't try to construct it yourself.ryTc��V'gVP4'dR#VP# \dS\PPTP4'dRTnR#R;Tn;TnTnR#i;i)�Whether this path exists.TF)	�
is_symlink�_existsr]rr`�existsr��_is_dir�_is_filer�s&$rr��_WindowsPathInfo.exists�sk���4�?�?�#4�#4��	��<�<����	��w�w�~�~�d�j�j�)�)�#����>C�C���C�t�|�d�m��
	�s�.�9B�(B�2B�
Bc��V'gVP4'dR#VP# \dL\PPTP4'dR;TnTnR#RTnR#i;i)�!Whether this path is a directory.FT)r�r�r]rr`�isdirr�r�r�s&$r�is_dir�_WindowsPathInfo.is_dir�sd���4�?�?�#4�#4��	��<�<����	��w�w�}�}�T�Z�Z�(�(�.2�2���t�|��$����
	���.�9B�(B�9B�Bc��V'gVP4'dR#VP# \dL\PPTP4'dR;TnTnR#RTnR#i;i)�$Whether this path is a regular file.FT)r�r�r]rr`�isfiler�r�r�s&$r�is_file�_WindowsPathInfo.is_file�sd���4�?�?�#4�#4��	��=�=� ���	��w�w�~�~�d�j�j�)�)�/3�3��
���� %��
��
	�r�c��VP# \d>\PP	TP
4TnTPu#i;i)�%Whether this path is a symbolic link.)�_is_symlinkr]rr`�islinkr��r�s&rr��_WindowsPathInfo.is_symlink�sG��	$��#�#�#���	$�!�w�w�~�~�d�j�j�9�D���#�#�#�	$�s��AA�A)r�r�r�r�N�r_r�r�r��__doc__r�r�r�r�r�r�r�r�s@rr�r��s>����J�A�I����������$�$rr�c�Xa�]tRtRtoRtR	tRR/RltRR/RltRR/RltRt	R	t
VtR
#)�_PosixPathInfoi�z~Implementation of pathlib.types.PathInfo that provides status
information for POSIX paths. Don't try to construct it yourself.ryTc�8�VPVRR7pVfR#R#)r�T�ryr�F�r�r�s&$ rr��_PosixPathInfo.exists�s��
�Z�Z��t�Z�
L��
�:��rc�^�VPVRR7pVfR#\VP4#)r�Tr�F)r�rr�r�s&$ rr��_PosixPathInfo.is_dir��+��
�Z�Z��t�Z�
L��
�:���r�z�z�"�"rc�^�VPVRR7pVfR#\VP4#)r�Tr�F)r�rr�r�s&$ rr��_PosixPathInfo.is_file�r�rc�^�VPRRR7pVfR#\VP4#)r�FTr�)r�rr�)r�r�s& rr��_PosixPathInfo.is_symlink�s+��
�Z�Z��T�Z�
B��
�:���r�z�z�"�"rrONr�r�s@rr�r��s>����H��I����#��#�#��#�#�#rr�r�c�|aa�]tRtRtoRtR
tV3RltRRRR/RltRR/R	ltRR/R
lt	RR/Rlt
RtR
tVt
V;t#)�DirEntryInfoi�z�Implementation of pathlib.types.PathInfo that provides status
information by querying a wrapped os.DirEntry object. Don't try to
construct it yourself.c�F<�\SV`VP4WnR#r�)�superr�r`�_entry)r��entry�	__class__s&&�rr��DirEntryInfo.__init__�s���
������$��rryTr�Fc�r�VPPVR7# \dT'ghR#i;i)rxN)r�r�r)r�ryr�s&$$rr��DirEntryInfo._stat�s7��	��;�;�#�#�O�#�D�D���	� ���	�s��6�6�6c�>�V'gR#VPRR7RJ#)r�T)r�Nr�r�s&$rr��DirEntryInfo.exists�s�����z�z��z�-�T�9�9rc�`�VPPVR7# \dR#i;i)r�rxF)r�r�rr�s&$rr��DirEntryInfo.is_dir�s1��	��;�;�%�%�o�%�F�F���	��	����-�-c�`�VPPVR7# \dR#i;i)r�rxF)r�r�rr�s&$rr��DirEntryInfo.is_files1��	��;�;�&�&��&�G�G���	��	�rc�\�VPP4# \dR#i;i)r�F)r�r�rr�s&rr��DirEntryInfo.is_symlink
s,��	��;�;�)�)�+�+���	��	�s��+�+)r�)r_r�r�r�r�r�r�r�r�r�r�r�r�r��
__classcell__)r�r�s@@rr�r��sW������I���t��5��:��:��������rr�)�r���NNN)T)"r�r5�iorrr�rrrrrrr�ImportErrorr!r/rr�rrr)r,r2rIrjrnrtr�r�r�r�r=�PathInfor�rOrr�<module>rsp����+�3�3�	�
�������
�&	�W�U�I�
&�
&�9��H�	�W�U�L�
)�
)�E��J��2� �!�!��"���2�z�����I��w�w��,�,�-��I�4�n)J�X�(�,8�vM�M�`5$�}�5$�p#�]�#�D "�w�w�$���N��+�=�+��w���E������E������G��s3�D�D�D*�	D�D�	D'�&D'�*	D7�6D7