+
    PjQ                     R    ^ RI Ht ^ RIHt ^ RIt^ RIHt ^ RIHt  ! R R4      t	R# )    )md5)productN)make_path_posix)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# )AbstractGetTestsc                   TpTpVP                  V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# )file2subfile1subdir/N)mkdirisdirgetisfilermexists)selffsfs_joinfs_bulk_operations_scenario_0local_fs
local_joinlocal_targetsourcetargettarget_file2target_subfile1s   &&&&&&&    r/Users/ahmed/devFolder/Ultron/claude-voice/gateway/.venv/lib/python3.14/site-packages/fsspec/tests/abstract/get.py#test_get_file_to_existing_directory4AbstractGetTests.test_get_file_to_existing_directory   sQ    /v~~f%%%%!&'2$VZ8 	wvw'0|,,,, 	wvx4f=//// 	\34??<0000???3333 	wvw'#6~~f%%%%|,,,,
wvx4fslC////    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   r   s	   &&&&&&&  r   test_get_file_to_new_directory/AbstractGetTests.test_get_file_to_new_directory3   s     /v
FHj1:fi3P	
 ~~f%%%%~~j:;;;;z&(JGHHHHr"   c                    TpTpVP                  V4       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   newfileN)r   r   r   r&   s	   &&&&&&&  r   +test_get_file_to_file_in_existing_directory<AbstractGetTests.test_get_file_to_file_in_existing_directoryJ   sT     /v
wvx4j6STz&)<====r"   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_get_file_to_file_in_new_directory7AbstractGetTests.test_get_file_to_file_in_new_directory\   sz     /v
FHj1vx3	
 ~~j:;;;;z&(IFGGGGr"   c           	        TpT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4      . 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4      . 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4      . 8X  d   EK  Q h	  R
# )FTr   r   	recursiver   subfile2	nesteddir
nestedfiler2   maxdepthN)r   r   zipr   lsr   r   r   r   r   r   r   r   r   r   r   r   source_slashtarget_slashsts   &&&&&&&      r   (test_get_directory_to_existing_directory9AbstractGetTests.test_get_directory_to_existing_directoryr   s    /v~~f%%%%*-udmeT]*K&L)AS ,&A FF1L;;v&",,, FF14F(z&*'EFFFFz&*'EFFFF~~j&EFFFFz&+|'TUUUU#??:fh+GHHHH"6:6"6:6"6;7
 #    ~~j&BCCCCz&(J'OPPPPz&(J'OPPPP~~j;&OPPPPvxlK    Jvx8DI;;v&",,, FF14!F4z&*'EFFFFz&*'EFFFF#??:fk+JKKKK#??:fh+GHHHH"6:6"6:6 #    ~~j&BCCCCz&(J'OPPPPz&(J'OPPPP#??:fh+TUUUUJvx8DI;;v&",,,{ +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P                  V4      . 8X  g   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      '       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4      . 8X  g   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# )FTr   r   r$   r1   r   r3   r4   r5   r6   N)r   r8   r   r9   r   r   r   r   r:   s   &&&&&&&      r   #test_get_directory_to_new_directory4AbstractGetTests.test_get_directory_to_new_directory   sb    /v*-udmeT]*K&L)AS68,AS FF1L;;v&",,, FF14F(>>*VX">??????:fh
#KLLLL??:fh
#KLLLL>>*VX{"KLLLL??68[,G     z&('CDDDDKK
684KE;;v&",,, FF14!F4>>*VX">??????:fh
#KLLLL??:fh
#KLLLLz&(K'PQQQQz&('CDDDDKK
684KEz&('CDDDDG +Lr"   c           
     :   TpTpVP                  V4       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4      . 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4      . 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4      . 8X  d   EK  Q h	  EK  	  R# )FTr   r   *r   r3   r4   r5   r1   **r6   NFT)r   r   r   r   r   r   r9   r8   r   r   r   r   r   r   r   r   r   r<   r>   globr2   s   &&&&&&&      r   #test_get_glob_to_existing_directory4AbstractGetTests.test_get_glob_to_existing_directory   s    /v)L ,&A FF768S115??:fj#ABBBB??:fj#ABBBB~~j&EFFFFz&+|'TUUUUz&('CDDDDKKvz2vz2    ;;v&",,, $'T{T5M#Bwvx6Oz&*'EFFFFz&*'EFFFF~~j&EFFFFz&+|'TUUUU#??:fh+GHHHH"6:6"6:6"6;7
 #    {{6*b000 FHd3QVW    z&*'EFFFFz&*'EFFFF#??:fk+JKKKK#??:fh+GHHHH"6:6"6:6 #    {{6*b000E $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4      . 8X  g   Q h\        RR.RR .4       EFe  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P                  VR R7      RR
7       VP	                  V! VR4      4      '       g   EKf  Q h	  EK  	  R# )FTr$   r   r   rE   r   r3   r4   r5   r1   rF   r6   )detailNrG   )r   r   r   r   r   r   r9   r8   rH   s   &&&&&&&      r   test_get_glob_to_new_directory/AbstractGetTests.test_get_glob_to_new_directory=  s    /v)L)AS FF768S115>>*VX">??????:fh
#KLLLL??:fh
#KLLLLz&(K'PQQQQ68[,G     z&('CDDDDz&(H'MNNNNKK
684KE;;v&",,, $'T{T5M#Bwvx6O~~j&BCCCCz&(J'OPPPPz&(J'OPPPP~~j;&OPPPPvxlK    $??:fh+GHHHH#??:fh+QRRRRJvx8DI#??:fh+GHHHH FHd3QVW    ~~j&BCCCCz&(J'OPPPPz&(J'OPPPP#??:fh+TUUUU#??:fh+GHHHH#??:fh+QRRRRHKKuK=N#??:fh+GHHHH7 $C+ *r"   argnames	argvaluesc                4   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RV4      4      NK  	  ppM!V Uu. uF  p\	        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     EK  i ; i)TFr$   r   r6   r1   N)r   r   r   findr   sortedr   FileNotFoundError)r   pathr2   r7   expectedr   r   fs_glob_edge_cases_filesr   r   r   r   r   new_dirr<   r>   outputpprefixed_expecteds   &&&&&&&&&&&        r   test_get_glob_edge_cases)AbstractGetTests.test_get_glob_edge_cases~  s"   $ *%,dE]T5M%J!GNN6"07
68,VA'CQAFF76(!8FT]]6*FNV%NVOJvx$CDh " %!
 EM%DLqOJvq$9:H " % &>V,=%>>>>Fd3) &K%% % s   C=+D$DDDc           	        TpTpVP                  V4       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4      . 8X  d   K  Q h	  R# )	file1r
   r   r   Tr   r1   NrG   )r   r   r   r   r9   )r   r   r   r   r   r   r   r   r   source_filesr<   r>   s   &&&&&&&     r   ,test_get_list_of_files_to_existing_directory=AbstractGetTests.test_get_list_of_files_to_existing_directory  s    /v FG$FG$FHj1
 *L ,&AFF<#??:fg#>??????:fg#>??????:fj#ABBBBKKvw/vw/vz2
    ;;v&",,,! *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# )r`   r
   r   r   r$   r   Nr%   )
r   r   r   r   r   r   r   r   r   ra   s
   &&&&&&&   r   'test_get_list_of_files_to_new_directory8AbstractGetTests.test_get_list_of_files_to_new_directory  s     /v FG$FG$FHj1
 	|Z9C?@~~j:;;;;z&(GDEEEEz&(GDEEEEz&(JGHHHHr"   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fileTr1   r   N)r   touchr   ranger   r   r   r   )r   r   r   fs_pathr   r   r   rh   src_filer   loops   &&&&&&&    r   test_get_directory_recursive-AbstractGetTests.test_get_directory_recursive  s   
 gu%3'

 ??6****!HDFF3$F/>>&))))qyz&&'ABBBB#??:fe+DEEEEEz&&'ABBBB~~j&?@@@@z&%'HIIII  	Fd+ ??6****!HDFF39fF5>>&))))??:ff#=>>>>z&%'@AAAA	 r"   c                   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P                  V4      . 8X  g   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   Tr1   zsubfile.txtz
subdir.txtzsubdir*N)r   r   r   r9   r   )	r   r   r   r   r   r   %fs_dir_and_file_with_same_name_prefixr   r   s	   &&&&&&&  r   6test_get_directory_without_files_with_same_name_prefixGAbstractGetTests.test_get_directory_without_files_with_same_name_prefix  s     7 	wvx(&DAz&-@AAAA??:fl#CDDDDZ678{{6"b((( 	wvy)6TB~~j:;;;;z&(MJKKKKz&,?@@@@r"   c           
        TpTp. p	. p
\        ^
4       Fq  p\        \        V4      P                  R4      4      P	                  4       pV	P                  V! W| R24      4       V
P                  \        V! W R24      4      4       Ks  	  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)rpathlpathN)
rk   r   strencode	hexdigestappendr   r   catdecode)r   r   r   r   r   r   fs_10_files_with_hashed_namesr   r   ra   destination_filesihashed_ifile_contents   &&&&&&&       r   ,test_get_with_source_and_destination_as_list=AbstractGetTests.test_get_with_source_and_destination_as_list/  s     / rA3q6==12<<>H*D0A BC$$
6Zt3D EF  	\;rA#<<(9(<=DDWML3q6))) r"    N)__name__
__module____qualname____firstlineno__r    r'   r+   r.   r?   rB   rJ   rN   pytestmarkparametrizer   r]   rb   re   ro   rs   r   __static_attributes____classdictcell__)__classdict__s   @r   r   r   
   s     &0PI.>$H,M-^2EhF1P?IB [[j)k*(	(T%-NI6"BHA:* *r"   r   )
hashlibr   	itertoolsr   r   fsspec.implementations.localr   fsspec.tests.abstract.commonr   r   r   r"   r   <module>r      s        8 >A	* A	*r"   