+
    PjM                     F    ^ RI Ht ^ RIHt ^ RIt^ RIHt  ! R R4      tR# )    )md5)productN)GLOB_EDGE_CASES_TESTSc                      a  ] tR t^	t o R tR tR tR tR tR t	R t
R t]P                  P                  ]R	,          ]R
,          4      R 4       tR tR tR tR tR tRtV tR# )AbstractCopyTestsc                0   TpTpVP                  V4       V'       g   VP                  V! VR 4      4       VP                  V4      '       g   Q hV! VR4      pV! VR4      p	VP                  V! VR4      V4       VP	                  V4      '       g   Q hVP                  V! VRR4      V4       VP	                  V	4      '       g   Q hVP                  W.4       VP                  V4      '       d   Q hVP                  V	4      '       d   Q hVP                  V! VR4      VR,           4       VP                  V4      '       g   Q hVP	                  V4      '       g   Q hVP                  V! VRR4      VR,           4       VP	                  V	4      '       g   Q hR# )dummyfile2subfile1subdir/N)mkdirtouchisdircpisfilermexists)
selffsfs_joinfs_bulk_operations_scenario_0	fs_targetsupports_empty_directoriessourcetargettarget_file2target_subfile1s
   &&&&&&    s/Users/ahmed/devFolder/Ultron/claude-voice/gateway/.venv/lib/python3.14/site-packages/fsspec/tests/abstract/copy.py$test_copy_file_to_existing_directory6AbstractCopyTests.test_copy_file_to_existing_directory
   sg    /
)HHWVW-.xxvw/!&*5 	gfg&/yy&&&& 	gfh
3V<yy)))) 	|-.99\****99_---- 	gfg&5xxyy&&&&
gfh
3Vc\Byy))))    c                &   TpTpVP                  V4       VP                  V! VR R4      V! VR4      4       VP                  V4      '       g   Q hVP                  V! VR4      4      '       g   Q hVP                  V! VRR4      4      '       g   Q hR# )r   r   znewdir/newdirNr   r   r   r   r   r   r   r   r   r   r   s   &&&&&  r   test_copy_file_to_new_directory1AbstractCopyTests.test_copy_file_to_new_directory4   s     /

FHj17693M	
 xxxx12222yy:>????r"   c                $   TpTpVP                  V4       V'       g   VP                  V! VR 4      4       VP                  V4      '       g   Q hVP                  V! VRR4      V! VR4      4       VP	                  V! VR4      4      '       g   Q hR# )r	   r   r   newfileN)r   r   r   r   r   )r   r   r   r   r   r   r   r   s   &&&&&&  r   ,test_copy_file_to_file_in_existing_directory>AbstractCopyTests.test_copy_file_to_file_in_existing_directoryD   s     /
)HHWVW-.xx
gfh
3WVY5OPyy34444r"   c                    TpTpVP                  V4       VP                  V! VR R4      V! VRR4      4       VP                  V! VR4      4      '       g   Q hVP                  V! VRR4      4      '       g   Q hR# )r   r   r$   r*   Nr%   r&   s   &&&&&  r   'test_copy_file_to_file_in_new_directory9AbstractCopyTests.test_copy_file_to_file_in_new_directoryY   sy     /

FHj1768Y3W	
 xx12222yy9=>>>>r"   c           	     >   TpTpVP                  V4       V'       g   V! VR 4      pVP                  V4       VP                  V4      '       g   Q h\        RR.RR.4       EF  w  rV! VR4      pV	'       d
   VR,          pV
'       d
   VR,           MTpVP	                  W4       VP                  VRR7      V'       d   . MX.8X  g   Q hVP	                  WRR7       V	'       d   VP                  V! VR4      4      '       g   Q hVP                  V! VR4      4      '       g   Q hVP                  V! VR	4      4      '       g   Q hVP                  V! VR	R
4      4      '       g   Q hVP                  V! VR4      4      '       d   Q hVP                  V! VR4      V! VR4      V! VR	4      .RR7       MVP                  V! VR4      4      '       g   Q hVP                  V! VRR4      4      '       g   Q hVP                  V! VRR4      4      '       g   Q hVP                  V! VRR	4      4      '       g   Q hVP                  V! VRR	R
4      4      '       g   Q hVP                  V! VR4      RR7       VP                  VRR7      V'       d   . MX.8X  g   Q hVP	                  WR^R7       V	'       d   VP                  V! VR4      4      '       g   Q hVP                  V! VR4      4      '       g   Q hVP                  V! VR	4      4      '       d   Q hVP                  V! VR4      4      '       d   Q hVP                  V! VR4      V! VR4      .RR7       MVP                  V! VR4      4      '       g   Q hVP                  V! VRR4      4      '       g   Q hVP                  V! VRR4      4      '       g   Q hVP                  V! VRR	4      4      '       d   Q hVP                  V! VR4      RR7       VP                  VRR7      V'       d   . MX.8X  d   EK  Q h	  R# )r	   FTr   r   detail	recursiver   subfile2	nesteddir
nestedfiler4   maxdepthN)	r   r   r   zipr   lsr   r   r   )r   r   r   r   r   r   r   r   r	   source_slashtarget_slashsts   &&&&&&       r   )test_copy_directory_to_existing_directory;AbstractCopyTests.test_copy_directory_to_existing_directoryh   s    /
)FG,EHHUOxx*-udmeT]*K&L)AS ,&A EE!K555.0ug  
 EE!$E'yy!<====yy!<====xx <====yyl!KLLLL99WVX%>????
3
34
 #   xx 9::::yy:!FGGGGyy:!FGGGGxx+ FGGGGyy;!UVVVVgfh/4@555.0ug  
 EE!$E3yy!<====yy!<====99WV[%ABBBB99WVX%>????
3
3 #   xx 9::::yy:!FGGGGyy:!FGGGG99WVX{%KLLLLgfh/4@555.0ug   +Lr"   c           	        TpTpVP                  V4       \        R R.R R.4       EF  w  rV! VR4      p
V'       d
   V
R,          p
V! VR4      pV	'       d
   VR,          pVP                  W4       V'       d   VP                  V4      . 8X  g   Q hM<\        P
                  ! \        4      ;_uu_ 4        VP                  V4       RRR4       VP                  WRR7       VP                  V! VR4      4      '       g   Q hVP                  V! VRR4      4      '       g   Q hVP                  V! VRR4      4      '       g   Q hVP                  V! VRR	4      4      '       g   Q hVP                  V! VRR	R
4      4      '       g   Q hVP                  V! VR4      4      '       d   Q hVP                  V! VR4      RR7       VP                  V! VR4      4      '       d   Q hVP                  WR^R7       VP                  V! VR4      4      '       g   Q hVP                  V! VRR4      4      '       g   Q hVP                  V! VRR4      4      '       g   Q hVP                  V! VRR	4      4      '       d   Q hVP                  V! VR4      4      '       d   Q hVP                  V! VR4      RR7       VP                  V! VR4      4      '       g   EK  Q h	  R#   + '       g   i     EL; i)FTr   r   r$   Nr3   r   r5   r6   r7   r8   )r   r:   r   r;   pytestraisesFileNotFoundErrorr   r   r   r   )r   r   r   r   r   r   r   r   r<   r=   r>   r?   s   &&&&&&      r   $test_copy_directory_to_new_directory6AbstractCopyTests.test_copy_directory_to_new_directory   s    /
*-udmeT]*K&L)AS)AS EE!K)uuV}***]]#455EE&M 6 EE!$E'88GFH5666699WVXzBCCCC99WVXzBCCCC88GFHkBCCCC99WVX{LQRRRRyy!:;;;;EE'&(+tE<yy!:;;;; EE!$E388GFH5666699WVXzBCCCC99WVXzBCCCCyy;!GHHHHyy!:;;;;EE'&(+tE<yy!:;;;;K +L 655s   4KK)c           
        TpTpVP                  V4       V'       g   V! VR 4      pVP                  V4       VP                  V4      '       g   Q hR EF%  p	V	'       d
   VR,           MTp
VP                  V! VRR4      V
4       VP	                  V! VR4      4      '       g   Q hVP	                  V! VR4      4      '       g   Q hVP                  V! VR4      4      '       d   Q hVP                  V! VRR	4      4      '       d   Q hVP                  V! VR4      4      '       d   Q hVP                  V! VR4      V! VR4      .RR
7       VP                  VRR7      V'       d   . MX.8X  g   Q h\        RR.RR.4       EF  w  rVP                  V! VRV4      WR
7       VP	                  V! VR4      4      '       g   Q hVP	                  V! VR4      4      '       g   Q hVP                  V! VR4      4      '       g   Q hVP	                  V! VRR	4      4      '       g   Q hVP                  V! VR4      4      '       d   Q hVP                  V! VR4      V! VR4      V! VR4      .RR
7       VP                  VRR7      V'       d   . MX.8X  g   Q hVP                  V! VRV4      W^R7       VP	                  V! VR4      4      '       g   Q hVP	                  V! VR4      4      '       g   Q hVP                  V! VR4      4      '       d   Q hVP                  V! VR4      4      '       d   Q hVP                  V! VR4      V! VR4      .RR
7       VP                  VRR7      V'       d   . MX.8X  d   EK  Q h	  EK(  	  R# )r	   FTr   r   *r   r5   r6   r7   r3   r1   **r8   NFT)	r   r   r   r   r   r   r   r;   r:   )r   r   r   r   r   r   r   r   r	   r=   r?   globr4   s   &&&&&&       r   $test_copy_glob_to_existing_directory6AbstractCopyTests.test_copy_glob_to_existing_directory   sx    /
)FG,EHHUOxx)L ,&A EE'&(C0!499WVZ8999999WVZ89999xx <====yyl!KLLLLyy!:;;;;EEFJ/FJ/    555.0ug  
 $'T{T5M#Bgfh5qNyy!<====yy!<====xx <====yyl!KLLLL99WVX%>????
3
34
 #   uuVEu24B5'  
 FHd3QVW   yy!<====yy!<====99WV[%ABBBB99WVX%>????
3
3 #   uuVEu24B5'  I $C/ *r"   c           
        TpTpVP                  V4       R EF  pV! VR4      pV'       d
   VR,          pVP                  V! VRR4      V4       VP                  V! VR4      4      '       g   Q hVP                  V! VRR4      4      '       g   Q hVP                  V! VRR4      4      '       g   Q hVP	                  V! VRR4      4      '       d   Q hVP	                  V! VRRR	4      4      '       d   Q hVP	                  V! VR4      4      '       d   Q hVP	                  V! VRR4      4      '       d   Q hVP                  V! VR4      RR
7       VP	                  V! VR4      4      '       d   Q h\        RR.RR .4       EF[  w  rVP                  V! VRV	4      WR
7       VP                  V! VR4      4      '       g   Q hVP                  V! VRR4      4      '       g   Q hVP                  V! VRR4      4      '       g   Q hVP                  V! VRR4      4      '       g   Q hVP                  V! VRRR	4      4      '       g   Q hVP	                  V! VR4      4      '       d   Q hVP	                  V! VRR4      4      '       d   Q hVP                  V! VR4      RR
7       VP	                  V! VR4      4      '       d   Q hVP                  V! VRV	4      W^R7       VP                  V! VR4      4      '       g   Q hVP                  V! VRR4      4      '       g   Q hVP                  V! VRR4      4      '       g   Q hVP	                  V! VRR4      4      '       d   Q hVP	                  V! VR4      4      '       d   Q hVP	                  V! VRR4      4      '       d   Q hVP                  V! VR4      RR
7       VP	                  V! VR4      4      '       g   EK\  Q h	  EK  	  R# )FTr$   r   r   rI   r   r5   r6   r7   r3   rJ   r8   NrK   )r   r   r   r   r   r   r:   )r   r   r   r   r   r   r   r=   r?   rL   r4   s   &&&&&      r   test_copy_glob_to_new_directory1AbstractCopyTests.test_copy_glob_to_new_directoryE  s    /
)L)AS EE'&(C0!488GFH5666699WVXzBCCCC99WVXzBCCCCyy;!GHHHHyy;!UVVVVyy!:;;;;yy8!DEEEEEE'&(+tE<yy!:;;;; $'T{T5M#Bgfh5qNxx 9::::yy:!FGGGGyy:!FGGGGxx+ FGGGGyy;!UVVVV99WVX%>????99WVXx%HIIIIgfh/4@99WVX%>???? FHd3QVW   xx 9::::yy:!FGGGGyy:!FGGGG99WVX{%KLLLL99WVX%>????99WVXx%HIIIIgfh/4@99WVX%>????3 $C' *r"   argnames	argvaluesc
                &   Tp
Tp\        R R.R R.4       F  w  rVP                  V4       V'       d
   V! VR4      MTpV'       d
   VR,           MTpVP                  V! W4      WVR7       VP                  V4      pV'       d!   V Uu. uF  pV	! V! VRV4      4      NK  	  ppMV Uu. uF  pV	! V! VV4      4      NK  	  pp\	        V4      \	        V4      8X  g   Q h VP                  VR R7       K  	  R# u upi u upi   \         d     K  i ; i)TFr$   r   r8   r3   N)r   r   copyfindsortedr   rE   )r   pathr4   r9   expectedr   r   fs_glob_edge_cases_filesr   fs_sanitize_pathr   r   new_dirr=   r?   outputpprefixed_expecteds   &&&&&&&&&&        r   test_copy_glob_edge_cases+AbstractCopyTests.test_copy_glob_edge_cases|  s#   " *%,dE]T5M%J!GHHV-4)&A'CQAGGGF)1HGUWWV_FLT%LTq$WVXq%ABH " %!
 CK%BJQ$WVQ%78( " % &>V,=%>>>>f-) &K%% % s   C7(C<DDDc           	        TpTpVP                  V4       V'       g   V! VR 4      pVP                  V4       VP                  V4      '       g   Q hV! VR4      V! VR4      V! VRR4      .p	R F  p
V
'       d
   VR,           MTpVP                  W4       VP	                  V! VR4      4      '       g   Q hVP	                  V! VR4      4      '       g   Q hVP	                  V! VR4      4      '       g   Q hVP                  V! VR4      V! VR4      V! VR4      .RR7       VP                  VRR	7      V'       d   . MX.8X  d   K  Q h	  R
# )r	   file1r
   r   r   FTr   r3   r1   NrK   )r   r   r   r   r   r   r;   )r   r   r   r   r   r   r   r   r	   source_filesr=   r?   s   &&&&&&      r   -test_copy_list_of_files_to_existing_directory?AbstractCopyTests.test_copy_list_of_files_to_existing_directory  sN    /
)FG,EHHUOxx FG$FG$FHj1
 *L ,&AEE,"99WVW5666699WVW5666699WVZ89999EEFG,FG,FJ/
    555.0ug  ! *r"   c                   TpTpVP                  V4       V! VR 4      V! VR4      V! VRR4      .pVP                  Wr! VR4      R,           4       VP                  V! VR4      4      '       g   Q hVP                  V! VRR 4      4      '       g   Q hVP                  V! VRR4      4      '       g   Q hVP                  V! VRR4      4      '       g   Q hR# )rc   r
   r   r   r$   r   Nr%   )r   r   r   r   r   r   r   rd   s   &&&&&   r   (test_copy_list_of_files_to_new_directory:AbstractCopyTests.test_copy_list_of_files_to_new_directory  s     /
 FG$FG$FHj1
 	lGFH5;<xx12222yy7;<<<<yy7;<<<<yy:>????r"   c                6   TpTpVP                  V4      '       d   Q hVP                  V! VR 4      V! VR4      .V4       VP                  V4      '       g   Q hVP                  V! VR 4      4      '       g   Q hVP                  V! VR4      4      '       g   Q hR# )rc   r
   N)r   r   r   r   r&   s   &&&&&  r   !test_copy_two_files_new_directory3AbstractCopyTests.test_copy_two_files_new_directory  s    
 /99V$$$$
wvw')ABFKxxyy12222yy12222r"   c                b   TpTpVP                  V! VR 4      VRR7       VP                  V! VR4      4      '       g   Q hVP                  V! VR4      4      '       d   Q hVP                  V! VR4      .4       V'       d   VP                  V4      . 8X  g   Q hMVP	                  V4      '       d   Q hVP                  V! VR4      VRR7       VP                  V! VR 4      4      '       g   Q hVP                  V! VR R4      4      '       g   Q hVP                  V! VR4      4      '       g   Q hR# )r   Tr3   zsubfile.txtz
subdir.txtzsubdir*N)r   r   r   r;   r   r   )r   r   r   r   %fs_dir_and_file_with_same_name_prefixr   r   r   s   &&&&&&  r   7test_copy_directory_without_files_with_same_name_prefixIAbstractCopyTests.test_copy_directory_without_files_with_same_name_prefix  s    7 	gfh'4@yy7888899WV\:;;;;
wv}-./%55=B&&&yy(((( 	gfi(&DAxx12222yy=ABBBByy67777r"   c                   TpTp. p. p\        ^
4       Fh  p	\        \        V	4      P                  R4      4      P	                  4       p
VP                  V! WZ R24      4       VP                  V! Wj R24      4       Kj  	  VP                  WxR7       \        ^
4       F;  p	VP                  W,          4      P                  R4      pV\        V	4      8X  d   K;  Q h	  R# )
   zutf-8z.txt)path1path2N)	ranger   strencode	hexdigestappendrU   catdecode)r   r   r   r   fs_10_files_with_hashed_namesr   r   rd   destination_filesihashed_ifile_contents   &&&&&       r   -test_copy_with_source_and_destination_as_list?AbstractCopyTests.test_copy_with_source_and_destination_as_list  s     / rA3q6==12<<>H*D0A BC$$WVz5F%GH  	l<rA66"3"67>>wGL3q6))) r"    N)__name__
__module____qualname____firstlineno__r    r'   r+   r.   r@   rF   rM   rP   rC   markparametrizer   r`   re   rh   rk   ro   r   __static_attributes____classdictcell__)__classdict__s   @r   r   r   	   s     (*T@ 5*?Tl3<jPd5@n [[j)k*'	'R+Z@*38>* *r"   r   )hashlibr   	itertoolsr   rC   fsspec.tests.abstract.commonr   r   r   r"   r   <module>r      s       >d* d*r"   