/opt/alt/python311/lib64/python3.11/distutils/__pycache__
NameSizeModeActions
archive_util.cpython-311.opt-1.pyc106640644editdlrm
archive_util.cpython-311.opt-2.pyc86560644editdlrm
archive_util.cpython-311.pyc106640644editdlrm
bcppcompiler.cpython-311.opt-1.pyc130570644editdlrm
bcppcompiler.cpython-311.opt-2.pyc127670644editdlrm
bcppcompiler.cpython-311.pyc130570644editdlrm
ccompiler.cpython-311.opt-1.pyc443560644editdlrm
ccompiler.cpython-311.opt-2.pyc282840644editdlrm
ccompiler.cpython-311.pyc446110644editdlrm
cmd.cpython-311.opt-1.pyc187970644editdlrm
cmd.cpython-311.opt-2.pyc130490644editdlrm
cmd.cpython-311.pyc187970644editdlrm
config.cpython-311.opt-1.pyc63830644editdlrm
config.cpython-311.opt-2.pyc60220644editdlrm
config.cpython-311.pyc63830644editdlrm
core.cpython-311.opt-1.pyc90530644editdlrm
core.cpython-311.opt-2.pyc56790644editdlrm
core.cpython-311.pyc90530644editdlrm
cygwinccompiler.cpython-311.opt-1.pyc141220644editdlrm
cygwinccompiler.cpython-311.opt-2.pyc125370644editdlrm
cygwinccompiler.cpython-311.pyc141220644editdlrm
debug.cpython-311.opt-1.pyc2920644editdlrm
debug.cpython-311.opt-2.pyc2920644editdlrm
debug.cpython-311.pyc2920644editdlrm
dep_util.cpython-311.opt-1.pyc39670644editdlrm
dep_util.cpython-311.opt-2.pyc25440644editdlrm
dep_util.cpython-311.pyc39670644editdlrm
dir_util.cpython-311.opt-1.pyc100340644editdlrm
dir_util.cpython-311.opt-2.pyc76940644editdlrm
dir_util.cpython-311.pyc100340644editdlrm
dist.cpython-311.opt-1.pyc547440644editdlrm
dist.cpython-311.opt-2.pyc456060644editdlrm
dist.cpython-311.pyc547440644editdlrm
errors.cpython-311.opt-1.pyc67550644editdlrm
errors.cpython-311.opt-2.pyc41390644editdlrm
errors.cpython-311.pyc67550644editdlrm
extension.cpython-311.opt-1.pyc101550644editdlrm
extension.cpython-311.opt-2.pyc66680644editdlrm
extension.cpython-311.pyc101550644editdlrm
fancy_getopt.cpython-311.opt-1.pyc168280644editdlrm
fancy_getopt.cpython-311.opt-2.pyc140930644editdlrm
fancy_getopt.cpython-311.pyc171090644editdlrm
filelist.cpython-311.opt-1.pyc158840644editdlrm
filelist.cpython-311.opt-2.pyc130600644editdlrm
filelist.cpython-311.pyc161710644editdlrm
file_util.cpython-311.opt-1.pyc103760644editdlrm
file_util.cpython-311.opt-2.pyc82650644editdlrm
file_util.cpython-311.pyc103760644editdlrm
log.cpython-311.opt-1.pyc39000644editdlrm
log.cpython-311.opt-2.pyc38400644editdlrm
log.cpython-311.pyc39000644editdlrm
msvc9compiler.cpython-311.opt-1.pyc330810644editdlrm
msvc9compiler.cpython-311.opt-2.pyc315080644editdlrm
msvc9compiler.cpython-311.pyc331640644editdlrm
msvccompiler.cpython-311.opt-1.pyc266480644editdlrm
msvccompiler.cpython-311.opt-2.pyc251280644editdlrm
msvccompiler.cpython-311.pyc266480644editdlrm
spawn.cpython-311.opt-1.pyc56090644editdlrm
spawn.cpython-311.opt-2.pyc44890644editdlrm
spawn.cpython-311.pyc56090644editdlrm
sysconfig.cpython-311.opt-1.pyc120990644editdlrm
sysconfig.cpython-311.opt-2.pyc102810644editdlrm
sysconfig.cpython-311.pyc120990644editdlrm
text_file.cpython-311.opt-1.pyc115060644editdlrm
text_file.cpython-311.opt-2.pyc64530644editdlrm
text_file.cpython-311.pyc115060644editdlrm
unixccompiler.cpython-311.opt-1.pyc132610644editdlrm
unixccompiler.cpython-311.opt-2.pyc126360644editdlrm
unixccompiler.cpython-311.pyc132610644editdlrm
util.cpython-311.opt-1.pyc246630644editdlrm
util.cpython-311.opt-2.pyc188610644editdlrm
util.cpython-311.pyc246770644editdlrm
version.cpython-311.opt-1.pyc103480644editdlrm
version.cpython-311.opt-2.pyc70590644editdlrm
version.cpython-311.pyc103710644editdlrm
versionpredicate.cpython-311.opt-1.pyc72210644editdlrm
versionpredicate.cpython-311.opt-2.pyc47670644editdlrm
versionpredicate.cpython-311.pyc72210644editdlrm
_msvccompiler.cpython-311.opt-1.pyc242610644editdlrm
_msvccompiler.cpython-311.opt-2.pyc231240644editdlrm
_msvccompiler.cpython-311.pyc243440644editdlrm
__init__.cpython-311.opt-1.pyc8210644editdlrm
__init__.cpython-311.opt-2.pyc6380644editdlrm
__init__.cpython-311.pyc8210644editdlrm
Edit: /opt/alt/python311/lib64/python3.11/distutils/__pycache__/file_util.cpython-311.opt-1.pyc (10376B)
f\dZddlZddlmZddlmZddddZdd Z dd Z dd Z dZ dS)zFdistutils.file_util Utility functions for operating on single files. N)DistutilsFileError)logcopyingz hard linkingzsymbolically linking)Nhardsym@cd}d} t|d}n,#t$r}td|d|jd}~wwxYwtj|rB t j|n,#t$r}td|d|jd}~wwxYw t|d}n,#t$r}td|d|jd}~wwxYw ||}n,#t$r}td |d|jd}~wwxYw|snD | |n,#t$r}td |d|jd}~wwxYw |r| |r| dSdS#|r| |r| wwxYw) 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. Nrbzcould not open '': zcould not delete 'wbzcould not create 'Tzcould not read from 'zcould not write to ') openOSErrorrstrerrorospathexistsunlinkreadwriteclose)srcdst buffer_sizefsrcfdstebufs :/opt/alt/python311/lib64/python3.11/distutils/file_util.py_copy_file_contentsrs D D& TT??DD T T T$$###qzz%RSS S T 7>>#   G G # G G G((58SS!**EGGG G CT??DD C C C$$14ajjACC C C I Jii ,, J J J((8;QZZHJJJ J  I 3 I I I((7:ssAJJGIII I I   JJLLL   JJLLLLL     JJLLL   JJLLLL sF A<A"F$A98F9 B"BB""F&B76F7 C CC  F%C;:F; D$DD$$F+EF E* E%%E**F/Gcddlm}ddlm} m} m} m} tj |std|ztj |r@|} tj |tj |}ntj|} |r+|||s|dkrtjd||dfS t"|}n #t$$rt'd|zwxYw|dkrotj |tj |krtjd||| ntjd||||r|dfS|d krjtj|r tj||s* tj|||dfS#t0$rYncwxYwn^|d krXtj|r tj||stj|||dfSt5|||s|r_tj|}|r#tj||| || f|r$tj|| || |dfS) aCopy a file 'src' to 'dst'. If 'dst' is a directory, then 'src' is copied there with the same name; otherwise, it must be a filename. (If the file exists, it will be ruthlessly clobbered.) If 'preserve_mode' is true (the default), the file's mode (type and permission bits, or whatever is analogous on the current platform) is copied. If 'preserve_times' is true (the default), the last-modified and last-access times are copied as well. If 'update' is true, 'src' will only be copied if 'dst' does not exist, or if 'dst' does exist but is older than 'src'. 'link' allows you to make hard links (os.link) or symbolic links (os.symlink) instead of copying: set it to "hard" or "sym"; if it is None (the default), files are copied. Don't set 'link' on systems that don't support it: 'copy_file()' doesn't check if hard or symbolic linking is available. If hardlink fails, falls back to _copy_file_contents(). Under Mac OS, uses the native file copy function in macostools; on other systems, uses '_copy_file_contents()' to copy file contents. Return a tuple (dest_name, copied): 'dest_name' is the actual name of the output file, and 'copied' is true if the file was copied (or would have been copied, if 'dry_run' true). r)newer)ST_ATIMEST_MTIMEST_MODES_IMODEz4can't copy '%s': doesn't exist or not a regular filer z"not copying %s (output up-to-date)z&invalid value '%s' for 'link' argumentz %s %s -> %srr)distutils.dep_utilr"statr#r$r%r&rrisfilerisdirjoinbasenamedirnamerdebug _copy_actionKeyError ValueErrorinforsamefilelinkrsymlinkrutimechmod)rr preserve_modepreserve_timesupdater4verbosedry_runr"r#r$r%r&diractionsts r copy_filer@CsB)(((((999999999999 7>>#  L DsJLL L w}}S#gll3 0 0 5 566gooc"" eeCoo a<< I:C @ @ @QxJd# JJJADHIIIJ!|| 7  C BG$4$4S$9$9 9 9 H]FC 5 5 5 5 H]FC 5 5 5Qx s## (8(8c(B(B  S!!!Qx        s## (8(8c(B(B  JsC 8OS!!!00 WS\\  8 HS2h<H6 7 7 7  0 HS''"W+.. / / / 8Os0 C>>DG88 HHc rddlm}m}m}m}m}ddl} |dkrtjd|||r|S||std|z||r*tj |||}n!||rtd|d|d |||std|d|d d } tj ||nG#t$r:} | j\} } | | jkrd } ntd |d|d| Yd} ~ nd} ~ wwxYw| rt#||| tj|n]#t$rP} | j\} } tj|n#t$rYnwxYwtd |d|d|d| d} ~ wwxYw|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-Nr zmoving %s -> %sz#can't move '%s': not a regular filez can't move 'z': destination 'z' already existsz' not a valid pathFTzcouldn't move 'z' to 'r )r;z' by copy/delete: delete 'z ' failed: )os.pathrr)r*r,r-errnorr2rrrr+renamerargsEXDEVr@r)rrr;r<rr)r*r,r-rCcopy_itrnummsgs r move_filerJsA@@@@@@@@@@@@@LLL!|| "C--- 6#;;N !F!LMMM uSzzgll3 ..   ssCCC  5    ssCCC GF #s FFFV c %+  GG$$69cc333DFF F GGGGF *#sG,,,, * IcNNNN * * *JS#  #    $$SS###sssCC)** * * JsTC)) D-30D((D-E F4$ F//FF/ FF/FF//F4ct|d} |D]}||dz |dS#|wxYw)z{Create a file with the specified name and write 'contents' (a sequence of strings without line terminators) to it. w N)r rr)filenamecontentsflines r write_filerRsj XsA ! !D GGD4K  !   s AA)r)r r rNr r)r r) __doc__rdistutils.errorsr distutilsrr/rr@rJrRrrXs  //////#'/22 1111fCD,-____H<<<<~     rW