+
    PjR                     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# )AbstractPutTestsc                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putisfilermexists)selffsfs_join	fs_target
local_join local_bulk_operations_scenario_0supports_empty_directoriessourcetargettarget_file2target_subfile1s   &&&&&&&    r/Users/ahmed/devFolder/Ultron/claude-voice/gateway/.venv/lib/python3.14/site-packages/fsspec/tests/abstract/put.py#test_put_file_to_existing_directory4AbstractPutTests.test_put_file_to_existing_directory
   sg    2
)HHWVW-.xxvw/!&*5 	z&'*F3yy&&&& 	z&(J7@yy)))) 	|-.99\****99_---- 	z&'*FSL9xxyy&&&&
z&(J7#F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   r   s   &&&&&&  r    test_put_file_to_new_directory/AbstractPutTests.test_put_file_to_new_directory5   s     2

vx4gfi6P	
 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   r   s	   &&&&&&&  r    +test_put_file_to_file_in_existing_directory<AbstractPutTests.test_put_file_to_file_in_existing_directoryE   s     2
)HHWVW-.xx
z&(J79ST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_put_file_to_file_in_new_directory7AbstractPutTests.test_put_file_to_file_in_new_directory[   sz     2

vx4FHi0	
 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r5   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_put_directory_to_existing_directory9AbstractPutTests.test_put_directory_to_existing_directoryk   s    2
)FG,EHHUOxx*-udmeT]*K&L)AS ,&A FF1L555.0ug  
 FF14F(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  
 FF14!F4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%   Nr4   r   r6   r7   r8   r9   )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_put_directory_to_new_directory4AbstractPutTests.test_put_directory_to_new_directory   s    2
*-udmeT]*K&L)AS)AS FF1L)uuV}***]]#455EE&M 6 FF14F(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!:;;;; FF14!F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!:;;;;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      VV^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   r6   r7   r8   r4   r2   **r9   NFT)	r   r   r   r   r   r   r   r<   r;   )r   r   r   r   r   r   r   r   r   r	   r>   r@   globr5   s   &&&&&&&       r    #test_put_glob_to_existing_directory4AbstractPutTests.test_put_glob_to_existing_directory   s|    2
)FG,EHHUOxx)L ,&A FF:fh4a8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z&(D91Ryy!<====yy!<====xx <====yyl!KLLLL99WVX%>????
3
34
 #   uuVEu24B5'  
 vx6'	   yy!<====yy!<====99WV[%ABBBB99WVX%>????
3
3 #   uuVEu24B5'  O $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      V	V^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   rJ   r   r6   r7   r8   r4   rK   r9   NrL   )r   r   r   r   r   r   r;   )r   r   r   r   r   r   r   r   r>   r@   rM   r5   s   &&&&&&      r    test_put_glob_to_new_directory/AbstractPutTests.test_put_glob_to_new_directoryL  s    2
)L)AS FF:fh4a8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z&(D91R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%>???? vx6'	   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%>????9 $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   r9   r4   N)r   r   r   findsortedr   rF   )r   pathr5   r:   expectedr   r   r   local_glob_edge_cases_filesr   fs_sanitize_pathr   r   new_dirr>   r@   outputpprefixed_expecteds   &&&&&&&&&&&        r    test_put_glob_edge_cases)AbstractPutTests.test_put_glob_edge_cases  s#   $ -%,dE]T5M%J!GHHV-4)&A'CQAFF:f+QhFW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   r4   r2   NrL   )r   r   r   r   r   r   r<   )r   r   r   r   r   r   r   r   r   r	   source_filesr>   r@   s   &&&&&&&      r    ,test_put_list_of_files_to_existing_directory=AbstractPutTests.test_put_list_of_files_to_existing_directory  sN    2
)FG,EHHUOxx vw'vw'vx4
 *L ,&AFF<#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                  W! 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   r   rd   s	   &&&&&&   r    'test_put_list_of_files_to_new_directory8AbstractPutTests.test_put_list_of_files_to_new_directory  s     2
 vw'vw'vx4
 	|WVX6<=xx12222yy7;<<<<yy7;<<<<yy:>????r#   c                   V! VR 4      pV! VR4      pVP                  V4       VP                  V4       Tp	VP                  V	4      '       d   Q h\        ^4       F  p
VP	                  WyRR7       VP                  V	4      '       g   Q hV
^ 8X  dC   VP                  V! V	R4      4      '       g   Q hVP                  V! V	R 4      4      '       d   Q hKx  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      '       d   K  Q h	  VP                  V	RR7       VP                  V	4      '       d   Q h\        ^4       Fw  p
VP	                  VR,           V	RR7       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   Kw  Q h	  R# )srcfileTr4   r   N)r   r   r   ranger   r   r   r   )r   r   r   r   local_fsr   
local_pathrk   src_filer   loops   &&&&&&&    r    test_put_directory_recursive-AbstractPutTests.test_put_directory_recursive  s   
 U+c6*sx  99V$$$$!HDFF3$F/88F####qyyy!8999999WVU%;<<<<<yy!89999xx 67777yy!?@@@@  	f% 99V$$$$!HDFF39fF588F####99WVV45555yy!78888	 r#   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   Tr4   zsubfile.txtz
subdir.txtzsubdir*N)r   r   r   r<   r   r   )	r   r   r   r   r   (local_dir_and_file_with_same_name_prefixr   r   r   s	   &&&&&&&  r    6test_put_directory_without_files_with_same_name_prefixGAbstractPutTests.test_put_directory_without_files_with_same_name_prefix  s    : 	z&(+Y$GyyM:;;;;99WY=>>>>
wv}-./%55=B&&&yy(((( 	z&),i4Hxx	845555yyHmDEEEEyyL9::::r#   c                   TpTp. p. p	\        ^
4       Fh  p
\        \        V
4      P                  R4      4      P	                  4       pVP                  V! Wk R24      4       V	P                  V! W{ R24      4       Kj  	  VP                  WR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)lpathrpathN)	rm   r   strencode	hexdigestappendr   catdecode)r   r   r   r   r    local_10_files_with_hashed_namesr   r   rd   destination_filesihashed_ifile_contents   &&&&&&       r    -test_copy_with_source_and_destination_as_list>AbstractPutTests.test_copy_with_source_and_destination_as_list;  s     2 rA3q6==12<<>H
6Zt3D EF$$WVz5F%GH  	\;rA66"3"67>>wGL3q6))) r#    N)__name__
__module____qualname____firstlineno__r!   r(   r,   r/   rA   rG   rN   rQ   rD   markparametrizer   r`   re   rh   rr   rv   r   __static_attributes____classdictcell__)__classdict__s   @r    r   r   	   s     )*V@ 5,? Tl3<jTl8@t [[j)k*(	(T,\@*"9H;@* *r#   r   )hashlibr   	itertoolsr   rD   fsspec.tests.abstract.commonr   r   r   r#   r    <module>r      s       >F	* F	*r#   