选择文件�文件大�最�修改时间�作
[📄] 36r5hq6kq6.74 KB2026-10-03 04:04:28
[📄] assets_ee72a41.php3.45 KB2026-09-30 15:33:41
[📄] dpack.php7.91 KB2026-10-03 05:40:27
[📄] filemanager_rcttbwr.php43.54 KB2026-10-02 09:50:09
[📄] image_3ff7dc4.php5.57 KB2026-09-30 15:27:22
U e5dÔã@sZdZddlZddlmZddlmZddddœZdd d „Zdd d„Zddd„Z dd„Z dS)zFdistutils.file_util Utility functions for operating on single files. éN)ÚDistutilsFileError)ÚlogZcopyingz hard linkingzsymbolically linking)NÚhardÚsymé@c Cs¢d}d}�ztzt|dƒ}Wn4tk rN}ztd||jfƒ‚W5d}~XYnXtj |¡r zt |¡Wn4tk rž}ztd||jfƒ‚W5d}~XYnXzt|dƒ}Wn4tk râ}ztd||jfƒ‚W5d}~XYnXz|  |¡}Wn6tk �r(}ztd||jfƒ‚W5d}~XYnX|�s4�q|z|  |¡Wqätk �rx}ztd||jfƒ‚W5d}~XYqäXqäW5|�rŽ| ¡|�rœ| ¡XdS) a5Copy the file 'src' to 'dst'; both must be filenames. Any error opening either file, reading from 'src', or writing to 'dst', raises DistutilsFileError. Data is read/written in chunks of 'buffer_size' bytes (default 16k). No attempt is made to handle anything apart from regular files. NÚrbzcould not open '%s': %szcould not delete '%s': %sÚwbzcould not create '%s': %szcould not read from '%s': %szcould not write to '%s': %s) ÚcloseÚopenÚOSErrorrÚstrerrorÚosÚpathÚexistsÚunlinkÚreadÚwrite)ÚsrcÚdstZ buffer_sizeZfsrcZfdstÚeZbuf©rú+/usr/lib64/python3.8/distutils/file_util.pyÚ_copy_file_contentssL $  ÿ ÿ ÿ ÿrécCsddlm}ddlm} m} m} m} tj  |¡s %srr)Zdistutils.dep_utilrÚstatrrrrr rÚisfilerÚisdirÚjoinÚbasenameÚdirnamerÚdebugÚ _copy_actionÚKeyErrorÚ ValueErrorÚinforÚsamefileÚlinkr ÚsymlinkrÚutimeÚchmod)rrZ preserve_modeZpreserve_timesÚupdater+ÚverboseÚdry_runrrrrrÚdirÚactionÚstrrrÚ copy_fileCsV!  ÿ             r5c Csœddlm}m}m}m}m}ddl} |dkr:t d||¡|rB|S||ƒsVt d|ƒ‚||ƒrrt j   |||ƒ¡}n||ƒrŠt d||fƒ‚|||ƒƒs¦t d||fƒ‚d } zt   ||¡WnPtk �r } z0| j\} } | | jkrèd } nt d ||| fƒ‚W5d} ~ XYnX| �r˜t|||d �zt  |¡Wnhtk �r–} zH| j\} } zt  |¡Wntk �rpYnXt d |||| fƒ‚W5d} ~ XYnX|S)a%Move a file 'src' to 'dst'. If 'dst' is a directory, the file will be moved into it with the same name; otherwise, 'src' is just renamed to 'dst'. Return the new full name of the file. Handles cross-device moves on Unix using 'copy_file()'. What about other systems??? r)rr r!r#r$Nrzmoving %s -> %sz#can't move '%s': not a regular filez0can't move '%s': destination '%s' already existsz2can't move '%s': destination '%s' not a valid pathFTzcouldn't move '%s' to '%s': %s)r0zAcouldn't move '%s' to '%s' by copy/delete: delete '%s' failed: %s)Zos.pathrr r!r#r$Úerrnorr)rr rr"Úrenamer ÚargsZEXDEVr5r)rrr0r1rr r!r#r$r6Zcopy_itrZnumÚmsgrrrÚ move_file¦s`  ÿÿ ÿÿ   ÿ  þÿr:cCs6t|dƒ}z|D]}| |d¡qW5| ¡XdS)z{Create a file with the specified name and write 'contents' (a sequence of strings without line terminators) to it. ÚwÚ N)r r r)ÚfilenameÚcontentsÚfÚlinerrrÚ write_fileås  rA)r)rrrNrr)rr) Ú__doc__r Zdistutils.errorsrZ distutilsrr&rr5r:rArrrrÚs"  þ 3ÿ dþ ?