summaryrefslogtreecommitdiff
path: root/sys/lib/python/distutils/file_util.pyc
blob: 1942feec43dc8ae27f71b6e2bc0f510013576d00 (plain)
ofshex dumpascii
0000 b3 f2 0d 0a 9e 6c 87 4a 63 00 00 00 00 00 00 00 00 0a 00 00 00 40 00 00 00 73 9c 00 00 00 64 00 .....l.Jc............@...s....d.
0020 00 5a 00 00 64 01 00 5a 01 00 64 02 00 64 03 00 6b 02 00 5a 02 00 64 02 00 64 04 00 6b 03 00 6c .Z..d..Z..d..d..k..Z..d..d..k..l
0040 04 00 5a 04 00 01 64 02 00 64 05 00 6b 05 00 6c 06 00 5a 06 00 01 68 00 00 04 64 06 00 02 64 03 ..Z...d..d..k..l..Z...h...d...d.
0060 00 3c 04 64 07 00 02 64 08 00 3c 04 64 09 00 02 64 0a 00 3c 5a 08 00 64 13 00 64 0d 00 84 01 00 .<.d...d..<.d...d..<Z..d..d.....
0080 5a 09 00 64 0e 00 64 0e 00 64 0f 00 64 03 00 64 0f 00 64 0f 00 64 10 00 84 06 00 5a 0a 00 64 0f Z..d..d..d..d..d..d..d.....Z..d.
00a0 00 64 0f 00 64 11 00 84 02 00 5a 0b 00 64 12 00 84 00 00 5a 0c 00 64 03 00 53 28 14 00 00 00 73 .d..d.....Z..d.....Z..d..S(....s
00c0 46 00 00 00 64 69 73 74 75 74 69 6c 73 2e 66 69 6c 65 5f 75 74 69 6c 0a 0a 55 74 69 6c 69 74 79 F...distutils.file_util..Utility
00e0 20 66 75 6e 63 74 69 6f 6e 73 20 66 6f 72 20 6f 70 65 72 61 74 69 6e 67 20 6f 6e 20 73 69 6e 67 .functions.for.operating.on.sing
0100 6c 65 20 66 69 6c 65 73 2e 0a 73 35 00 00 00 24 49 64 3a 20 66 69 6c 65 5f 75 74 69 6c 2e 70 79 le.files..s5...$Id:.file_util.py
0120 20 33 37 38 32 38 20 32 30 30 34 2d 31 31 2d 31 30 20 32 32 3a 32 33 3a 31 35 5a 20 6c 6f 65 77 .37828.2004-11-10.22:23:15Z.loew
0140 69 73 20 24 69 ff ff ff ff 4e 28 01 00 00 00 74 12 00 00 00 44 69 73 74 75 74 69 6c 73 46 69 6c is.$i....N(....t....DistutilsFil
0160 65 45 72 72 6f 72 28 01 00 00 00 74 03 00 00 00 6c 6f 67 74 07 00 00 00 63 6f 70 79 69 6e 67 73 eError(....t....logt....copyings
0180 0c 00 00 00 68 61 72 64 20 6c 69 6e 6b 69 6e 67 74 04 00 00 00 68 61 72 64 73 14 00 00 00 73 79 ....hard.linkingt....hards....sy
01a0 6d 62 6f 6c 69 63 61 6c 6c 79 20 6c 69 6e 6b 69 6e 67 74 03 00 00 00 73 79 6d 69 10 00 00 00 69 mbolically.linkingt....symi....i
01c0 00 04 00 00 63 03 00 00 00 08 00 00 00 14 00 00 00 43 00 00 00 73 ca 01 00 00 64 08 00 7d 03 00 ....c............C...s....d..}..
01e0 64 08 00 7d 04 00 7a 8c 01 79 13 00 74 01 00 7c 00 00 64 01 00 83 02 00 7d 03 00 57 6e 31 00 04 d..}..z..y..t..|..d.....}..Wn1..
0200 74 02 00 69 03 00 6a 0a 00 6f 22 00 01 01 5c 02 00 7d 05 00 7d 06 00 01 74 04 00 64 02 00 7c 00 t..i..j..o"...\..}..}...t..d..|.
0220 00 7c 06 00 66 02 00 16 82 02 00 6e 02 00 01 58 74 02 00 69 05 00 69 06 00 7c 01 00 83 01 00 6f .|..f......n...Xt..i..i..|.....o
0240 49 00 01 79 11 00 74 02 00 69 07 00 7c 01 00 83 01 00 01 57 71 b2 00 04 74 02 00 69 03 00 6a 0a I..y..t..i..|......Wq...t..i..j.
0260 00 6f 22 00 01 01 5c 02 00 7d 05 00 7d 06 00 01 74 04 00 64 03 00 7c 01 00 7c 06 00 66 02 00 16 .o"...\..}..}...t..d..|..|..f...
0280 82 02 00 71 b2 00 01 58 6e 01 00 01 79 13 00 74 01 00 7c 01 00 64 04 00 83 02 00 7d 04 00 57 6e ...q...Xn...y..t..|..d.....}..Wn
02a0 31 00 04 74 02 00 69 03 00 6a 0a 00 6f 22 00 01 01 5c 02 00 7d 05 00 7d 06 00 01 74 04 00 64 05 1..t..i..j..o"...\..}..}...t..d.
02c0 00 7c 01 00 7c 06 00 66 02 00 16 82 02 00 6e 02 00 01 58 78 9b 00 79 13 00 7c 03 00 69 08 00 7c .|..|..f......n...Xx..y..|..i..|
02e0 02 00 83 01 00 7d 07 00 57 6e 31 00 04 74 02 00 69 03 00 6a 0a 00 6f 22 00 01 01 5c 02 00 7d 05 .....}..Wn1..t..i..j..o"...\..}.
0300 00 7d 06 00 01 74 04 00 64 06 00 7c 00 00 7c 06 00 66 02 00 16 82 02 00 6e 02 00 01 58 7c 07 00 .}...t..d..|..|..f......n...X|..
0320 70 05 00 01 50 6e 01 00 01 79 11 00 7c 04 00 69 09 00 7c 07 00 83 01 00 01 57 71 fc 00 04 74 02 p...Pn...y..|..i..|......Wq...t.
0340 00 69 03 00 6a 0a 00 6f 22 00 01 01 5c 02 00 7d 05 00 7d 06 00 01 74 04 00 64 07 00 7c 01 00 7c .i..j..o"...\..}..}...t..d..|..|
0360 06 00 66 02 00 16 82 02 00 71 fc 00 01 58 71 fc 00 57 64 08 00 7c 04 00 6f 0e 00 01 7c 04 00 69 ..f......q...Xq..Wd..|..o...|..i
0380 0a 00 83 00 00 01 6e 01 00 01 7c 03 00 6f 0e 00 01 7c 03 00 69 0a 00 83 00 00 01 6e 01 00 01 58 ......n...|..o...|..i......n...X
03a0 64 08 00 53 28 09 00 00 00 73 35 01 00 00 43 6f 70 79 20 74 68 65 20 66 69 6c 65 20 27 73 72 63 d..S(....s5...Copy.the.file.'src
03c0 27 20 74 6f 20 27 64 73 74 27 3b 20 62 6f 74 68 20 6d 75 73 74 20 62 65 20 66 69 6c 65 6e 61 6d '.to.'dst';.both.must.be.filenam
03e0 65 73 2e 20 20 41 6e 79 20 65 72 72 6f 72 0a 20 20 20 20 6f 70 65 6e 69 6e 67 20 65 69 74 68 65 es...Any.error.....opening.eithe
0400 72 20 66 69 6c 65 2c 20 72 65 61 64 69 6e 67 20 66 72 6f 6d 20 27 73 72 63 27 2c 20 6f 72 20 77 r.file,.reading.from.'src',.or.w
0420 72 69 74 69 6e 67 20 74 6f 20 27 64 73 74 27 2c 20 72 61 69 73 65 73 0a 20 20 20 20 44 69 73 74 riting.to.'dst',.raises.....Dist
0440 75 74 69 6c 73 46 69 6c 65 45 72 72 6f 72 2e 20 20 44 61 74 61 20 69 73 20 72 65 61 64 2f 77 72 utilsFileError...Data.is.read/wr
0460 69 74 74 65 6e 20 69 6e 20 63 68 75 6e 6b 73 20 6f 66 20 27 62 75 66 66 65 72 5f 73 69 7a 65 27 itten.in.chunks.of.'buffer_size'
0480 0a 20 20 20 20 62 79 74 65 73 20 28 64 65 66 61 75 6c 74 20 31 36 6b 29 2e 20 20 4e 6f 20 61 74 .....bytes.(default.16k)...No.at
04a0 74 65 6d 70 74 20 69 73 20 6d 61 64 65 20 74 6f 20 68 61 6e 64 6c 65 20 61 6e 79 74 68 69 6e 67 tempt.is.made.to.handle.anything
04c0 20 61 70 61 72 74 20 66 72 6f 6d 0a 20 20 20 20 72 65 67 75 6c 61 72 20 66 69 6c 65 73 2e 0a 20 .apart.from.....regular.files...
04e0 20 20 20 74 02 00 00 00 72 62 73 17 00 00 00 63 6f 75 6c 64 20 6e 6f 74 20 6f 70 65 6e 20 27 25 ...t....rbs....could.not.open.'%
0500 73 27 3a 20 25 73 73 19 00 00 00 63 6f 75 6c 64 20 6e 6f 74 20 64 65 6c 65 74 65 20 27 25 73 27 s':.%ss....could.not.delete.'%s'
0520 3a 20 25 73 74 02 00 00 00 77 62 73 19 00 00 00 63 6f 75 6c 64 20 6e 6f 74 20 63 72 65 61 74 65 :.%st....wbs....could.not.create
0540 20 27 25 73 27 3a 20 25 73 73 1c 00 00 00 63 6f 75 6c 64 20 6e 6f 74 20 72 65 61 64 20 66 72 6f .'%s':.%ss....could.not.read.fro
0560 6d 20 27 25 73 27 3a 20 25 73 73 1b 00 00 00 63 6f 75 6c 64 20 6e 6f 74 20 77 72 69 74 65 20 74 m.'%s':.%ss....could.not.write.t
0580 6f 20 27 25 73 27 3a 20 25 73 4e 28 0b 00 00 00 74 04 00 00 00 4e 6f 6e 65 74 04 00 00 00 6f 70 o.'%s':.%sN(....t....Nonet....op
05a0 65 6e 74 02 00 00 00 6f 73 74 05 00 00 00 65 72 72 6f 72 52 00 00 00 00 74 04 00 00 00 70 61 74 ent....ost....errorR....t....pat
05c0 68 74 06 00 00 00 65 78 69 73 74 73 74 06 00 00 00 75 6e 6c 69 6e 6b 74 04 00 00 00 72 65 61 64 ht....existst....unlinkt....read
05e0 74 05 00 00 00 77 72 69 74 65 74 05 00 00 00 63 6c 6f 73 65 28 08 00 00 00 74 03 00 00 00 73 72 t....writet....close(....t....sr
0600 63 74 03 00 00 00 64 73 74 74 0b 00 00 00 62 75 66 66 65 72 5f 73 69 7a 65 74 04 00 00 00 66 73 ct....dstt....buffer_sizet....fs
0620 72 63 74 04 00 00 00 66 64 73 74 74 05 00 00 00 65 72 72 6e 6f 74 06 00 00 00 65 72 72 73 74 72 rct....fdstt....errnot....errstr
0640 74 03 00 00 00 62 75 66 28 00 00 00 00 28 00 00 00 00 73 26 00 00 00 2f 73 79 73 2f 6c 69 62 2f t....buf(....(....s&.../sys/lib/
0660 70 79 74 68 6f 6e 2f 64 69 73 74 75 74 69 6c 73 2f 66 69 6c 65 5f 75 74 69 6c 2e 70 79 74 13 00 python/distutils/file_util.pyt..
0680 00 00 5f 63 6f 70 79 5f 66 69 6c 65 5f 63 6f 6e 74 65 6e 74 73 14 00 00 00 73 48 00 00 00 00 0a .._copy_file_contents....sH.....
06a0 06 01 06 01 03 01 03 01 13 01 19 01 03 01 15 02 13 01 03 01 11 01 19 01 03 01 19 02 03 01 13 01 ................................
06c0 19 01 03 01 15 02 03 01 03 01 13 01 19 01 03 01 15 02 07 01 05 02 03 01 11 01 19 01 03 01 1c 03 ................................
06e0 07 01 0e 01 07 01 69 01 00 00 00 69 00 00 00 00 63 08 00 00 00 12 00 00 00 0e 00 00 00 43 00 00 ......i....i....c............C..
0700 00 73 08 03 00 00 64 01 00 64 02 00 6b 00 00 6c 01 00 7d 08 00 01 64 01 00 64 03 00 6b 02 00 6c .s....d..d..k..l..}...d..d..k..l
0720 03 00 7d 09 00 6c 04 00 7d 0a 00 6c 05 00 7d 0b 00 6c 06 00 7d 0c 00 01 74 07 00 69 08 00 69 09 ..}..l..}..l..}..l..}...t..i..i.
0740 00 7c 00 00 83 01 00 70 11 00 01 74 0a 00 64 04 00 7c 00 00 16 82 02 00 6e 01 00 01 74 07 00 69 .|.....p...t..d..|......n...t..i
0760 08 00 69 0b 00 7c 01 00 83 01 00 6f 2b 00 01 7c 01 00 7d 0d 00 74 07 00 69 08 00 69 0c 00 7c 01 ..i..|.....o+..|..}..t..i..i..|.
0780 00 74 07 00 69 08 00 69 0d 00 7c 00 00 83 01 00 83 02 00 7d 01 00 6e 13 00 01 74 07 00 69 08 00 .t..i..i..|........}..n...t..i..
07a0 69 0e 00 7c 01 00 83 01 00 7d 0d 00 7c 04 00 6f 2f 00 01 7c 08 00 7c 00 00 7c 01 00 83 02 00 0c i..|.....}..|..o/..|..|..|......
07c0 6f 1e 00 01 74 0f 00 69 10 00 64 05 00 7c 00 00 83 02 00 01 7c 01 00 64 06 00 66 02 00 53 6e 01 o...t..i..d..|......|..d..f..Sn.
07e0 00 01 79 0e 00 74 11 00 7c 05 00 19 7d 0e 00 57 6e 20 00 04 74 12 00 6a 0a 00 6f 14 00 01 01 01 ..y..t..|...}..Wn...t..j..o.....
0800 01 74 13 00 64 07 00 7c 05 00 16 82 02 00 6e 02 00 01 58 74 07 00 69 08 00 69 0d 00 7c 01 00 83 .t..d..|......n...Xt..i..i..|...
0820 01 00 74 07 00 69 08 00 69 0d 00 7c 00 00 83 01 00 6a 02 00 6f 1a 00 01 74 0f 00 69 14 00 64 08 ..t..i..i..|.....j..o...t..i..d.
0840 00 7c 0e 00 7c 00 00 7c 0d 00 83 04 00 01 6e 17 00 01 74 0f 00 69 14 00 64 08 00 7c 0e 00 7c 00 .|..|..|......n...t..i..d..|..|.
0860 00 7c 01 00 83 04 00 01 7c 07 00 6f 0e 00 01 7c 01 00 64 09 00 66 02 00 53 6e 01 00 01 74 07 00 .|......|..o...|..d..f..Sn...t..
0880 69 15 00 64 0a 00 6a 02 00 6f 5f 00 01 64 01 00 64 0b 00 6b 16 00 7d 0f 00 79 1a 00 7c 0f 00 69 i..d..j..o_..d..d..k..}..y..|..i
08a0 17 00 7c 00 00 7c 01 00 64 06 00 7c 03 00 83 04 00 01 57 71 fe 02 04 74 07 00 69 18 00 6a 0a 00 ..|..|..d..|......Wq...t..i..j..
08c0 6f 23 00 01 01 7d 10 00 01 74 0a 00 64 0c 00 7c 00 00 7c 01 00 7c 10 00 64 01 00 19 66 03 00 16 o#...}...t..d..|..|..|..d...f...
08e0 82 02 00 71 fe 02 01 58 6e 19 01 01 7c 05 00 64 0d 00 6a 02 00 6f 41 00 01 74 07 00 69 08 00 69 ...q...Xn...|..d..j..oA..t..i..i
0900 19 00 7c 01 00 83 01 00 6f 13 00 01 74 07 00 69 08 00 69 1a 00 7c 00 00 7c 01 00 83 02 00 70 14 ..|.....o...t..i..i..|..|.....p.
0920 00 01 74 07 00 69 1b 00 7c 00 00 7c 01 00 83 02 00 01 71 fe 02 01 6e cb 00 01 7c 05 00 64 0e 00 ..t..i..|..|......q...n...|..d..
0940 6a 02 00 6f 41 00 01 74 07 00 69 08 00 69 19 00 7c 01 00 83 01 00 6f 13 00 01 74 07 00 69 08 00 j..oA..t..i..i..|.....o...t..i..
0960 69 1a 00 7c 00 00 7c 01 00 83 02 00 70 14 00 01 74 07 00 69 1c 00 7c 00 00 7c 01 00 83 02 00 01 i..|..|.....p...t..i..|..|......
0980 71 fe 02 01 6e 7d 00 01 74 1d 00 7c 00 00 7c 01 00 83 02 00 01 7c 02 00 70 07 00 01 7c 03 00 6f q...n}..t..|..|......|..p...|..o
09a0 61 00 01 74 07 00 69 02 00 7c 00 00 83 01 00 7d 11 00 7c 03 00 6f 22 00 01 74 07 00 69 1e 00 7c a..t..i..|.....}..|..o"..t..i..|
09c0 01 00 7c 11 00 7c 09 00 19 7c 11 00 7c 0a 00 19 66 02 00 83 02 00 01 6e 01 00 01 7c 02 00 6f 1e ..|..|...|..|...f......n...|..o.
09e0 00 01 74 07 00 69 1f 00 7c 01 00 7c 0c 00 7c 11 00 7c 0b 00 19 83 01 00 83 02 00 01 71 fe 02 01 ..t..i..|..|..|..|..........q...
0a00 6e 01 00 01 7c 01 00 64 09 00 66 02 00 53 28 0f 00 00 00 73 e1 04 00 00 43 6f 70 79 20 61 20 66 n...|..d..f..S(....s....Copy.a.f
0a20 69 6c 65 20 27 73 72 63 27 20 74 6f 20 27 64 73 74 27 2e 20 20 49 66 20 27 64 73 74 27 20 69 73 ile.'src'.to.'dst'...If.'dst'.is
0a40 20 61 20 64 69 72 65 63 74 6f 72 79 2c 20 74 68 65 6e 20 27 73 72 63 27 20 69 73 0a 20 20 20 20 .a.directory,.then.'src'.is.....
0a60 63 6f 70 69 65 64 20 74 68 65 72 65 20 77 69 74 68 20 74 68 65 20 73 61 6d 65 20 6e 61 6d 65 3b copied.there.with.the.same.name;
0a80 20 6f 74 68 65 72 77 69 73 65 2c 20 69 74 20 6d 75 73 74 20 62 65 20 61 20 66 69 6c 65 6e 61 6d .otherwise,.it.must.be.a.filenam
0aa0 65 2e 20 20 28 49 66 0a 20 20 20 20 74 68 65 20 66 69 6c 65 20 65 78 69 73 74 73 2c 20 69 74 20 e...(If.....the.file.exists,.it.
0ac0 77 69 6c 6c 20 62 65 20 72 75 74 68 6c 65 73 73 6c 79 20 63 6c 6f 62 62 65 72 65 64 2e 29 20 20 will.be.ruthlessly.clobbered.)..
0ae0 49 66 20 27 70 72 65 73 65 72 76 65 5f 6d 6f 64 65 27 0a 20 20 20 20 69 73 20 74 72 75 65 20 28 If.'preserve_mode'.....is.true.(
0b00 74 68 65 20 64 65 66 61 75 6c 74 29 2c 20 74 68 65 20 66 69 6c 65 27 73 20 6d 6f 64 65 20 28 74 the.default),.the.file's.mode.(t
0b20 79 70 65 20 61 6e 64 20 70 65 72 6d 69 73 73 69 6f 6e 20 62 69 74 73 2c 20 6f 72 0a 20 20 20 20 ype.and.permission.bits,.or.....
0b40 77 68 61 74 65 76 65 72 20 69 73 20 61 6e 61 6c 6f 67 6f 75 73 20 6f 6e 20 74 68 65 20 63 75 72 whatever.is.analogous.on.the.cur
0b60 72 65 6e 74 20 70 6c 61 74 66 6f 72 6d 29 20 69 73 20 63 6f 70 69 65 64 2e 20 20 49 66 0a 20 20 rent.platform).is.copied...If...
0b80 20 20 27 70 72 65 73 65 72 76 65 5f 74 69 6d 65 73 27 20 69 73 20 74 72 75 65 20 28 74 68 65 20 ..'preserve_times'.is.true.(the.
0ba0 64 65 66 61 75 6c 74 29 2c 20 74 68 65 20 6c 61 73 74 2d 6d 6f 64 69 66 69 65 64 20 61 6e 64 0a default),.the.last-modified.and.
0bc0 20 20 20 20 6c 61 73 74 2d 61 63 63 65 73 73 20 74 69 6d 65 73 20 61 72 65 20 63 6f 70 69 65 64 ....last-access.times.are.copied
0be0 20 61 73 20 77 65 6c 6c 2e 20 20 49 66 20 27 75 70 64 61 74 65 27 20 69 73 20 74 72 75 65 2c 20 .as.well...If.'update'.is.true,.
0c00 27 73 72 63 27 20 77 69 6c 6c 0a 20 20 20 20 6f 6e 6c 79 20 62 65 20 63 6f 70 69 65 64 20 69 66 'src'.will.....only.be.copied.if
0c20 20 27 64 73 74 27 20 64 6f 65 73 20 6e 6f 74 20 65 78 69 73 74 2c 20 6f 72 20 69 66 20 27 64 73 .'dst'.does.not.exist,.or.if.'ds
0c40 74 27 20 64 6f 65 73 20 65 78 69 73 74 20 62 75 74 20 69 73 0a 20 20 20 20 6f 6c 64 65 72 20 74 t'.does.exist.but.is.....older.t
0c60 68 61 6e 20 27 73 72 63 27 2e 0a 0a 20 20 20 20 27 6c 69 6e 6b 27 20 61 6c 6c 6f 77 73 20 79 6f han.'src'.......'link'.allows.yo
0c80 75 20 74 6f 20 6d 61 6b 65 20 68 61 72 64 20 6c 69 6e 6b 73 20 28 6f 73 2e 6c 69 6e 6b 29 20 6f u.to.make.hard.links.(os.link).o
0ca0 72 20 73 79 6d 62 6f 6c 69 63 20 6c 69 6e 6b 73 0a 20 20 20 20 28 6f 73 2e 73 79 6d 6c 69 6e 6b r.symbolic.links.....(os.symlink
0cc0 29 20 69 6e 73 74 65 61 64 20 6f 66 20 63 6f 70 79 69 6e 67 3a 20 73 65 74 20 69 74 20 74 6f 20 ).instead.of.copying:.set.it.to.
0ce0 22 68 61 72 64 22 20 6f 72 20 22 73 79 6d 22 3b 20 69 66 20 69 74 20 69 73 0a 20 20 20 20 4e 6f "hard".or."sym";.if.it.is.....No
0d00 6e 65 20 28 74 68 65 20 64 65 66 61 75 6c 74 29 2c 20 66 69 6c 65 73 20 61 72 65 20 63 6f 70 69 ne.(the.default),.files.are.copi
0d20 65 64 2e 20 20 44 6f 6e 27 74 20 73 65 74 20 27 6c 69 6e 6b 27 20 6f 6e 20 73 79 73 74 65 6d 73 ed...Don't.set.'link'.on.systems
0d40 20 74 68 61 74 0a 20 20 20 20 64 6f 6e 27 74 20 73 75 70 70 6f 72 74 20 69 74 3a 20 27 63 6f 70 .that.....don't.support.it:.'cop
0d60 79 5f 66 69 6c 65 28 29 27 20 64 6f 65 73 6e 27 74 20 63 68 65 63 6b 20 69 66 20 68 61 72 64 20 y_file()'.doesn't.check.if.hard.
0d80 6f 72 20 73 79 6d 62 6f 6c 69 63 0a 20 20 20 20 6c 69 6e 6b 69 6e 67 20 69 73 20 61 76 61 69 6c or.symbolic.....linking.is.avail
0da0 61 62 6c 65 2e 0a 0a 20 20 20 20 55 6e 64 65 72 20 4d 61 63 20 4f 53 2c 20 75 73 65 73 20 74 68 able.......Under.Mac.OS,.uses.th
0dc0 65 20 6e 61 74 69 76 65 20 66 69 6c 65 20 63 6f 70 79 20 66 75 6e 63 74 69 6f 6e 20 69 6e 20 6d e.native.file.copy.function.in.m
0de0 61 63 6f 73 74 6f 6f 6c 73 3b 20 6f 6e 0a 20 20 20 20 6f 74 68 65 72 20 73 79 73 74 65 6d 73 2c acostools;.on.....other.systems,
0e00 20 75 73 65 73 20 27 5f 63 6f 70 79 5f 66 69 6c 65 5f 63 6f 6e 74 65 6e 74 73 28 29 27 20 74 6f .uses.'_copy_file_contents()'.to
0e20 20 63 6f 70 79 20 66 69 6c 65 20 63 6f 6e 74 65 6e 74 73 2e 0a 0a 20 20 20 20 52 65 74 75 72 6e .copy.file.contents.......Return
0e40 20 61 20 74 75 70 6c 65 20 28 64 65 73 74 5f 6e 61 6d 65 2c 20 63 6f 70 69 65 64 29 3a 20 27 64 .a.tuple.(dest_name,.copied):.'d
0e60 65 73 74 5f 6e 61 6d 65 27 20 69 73 20 74 68 65 20 61 63 74 75 61 6c 20 6e 61 6d 65 20 6f 66 0a est_name'.is.the.actual.name.of.
0e80 20 20 20 20 74 68 65 20 6f 75 74 70 75 74 20 66 69 6c 65 2c 20 61 6e 64 20 27 63 6f 70 69 65 64 ....the.output.file,.and.'copied
0ea0 27 20 69 73 20 74 72 75 65 20 69 66 20 74 68 65 20 66 69 6c 65 20 77 61 73 20 63 6f 70 69 65 64 '.is.true.if.the.file.was.copied
0ec0 20 28 6f 72 20 77 6f 75 6c 64 0a 20 20 20 20 68 61 76 65 20 62 65 65 6e 20 63 6f 70 69 65 64 2c .(or.would.....have.been.copied,
0ee0 20 69 66 20 27 64 72 79 5f 72 75 6e 27 20 74 72 75 65 29 2e 0a 20 20 20 20 69 ff ff ff ff 28 01 .if.'dry_run'.true)......i....(.
0f00 00 00 00 74 05 00 00 00 6e 65 77 65 72 28 04 00 00 00 74 08 00 00 00 53 54 5f 41 54 49 4d 45 74 ...t....newer(....t....ST_ATIMEt
0f20 08 00 00 00 53 54 5f 4d 54 49 4d 45 74 07 00 00 00 53 54 5f 4d 4f 44 45 74 07 00 00 00 53 5f 49 ....ST_MTIMEt....ST_MODEt....S_I
0f40 4d 4f 44 45 73 34 00 00 00 63 61 6e 27 74 20 63 6f 70 79 20 27 25 73 27 3a 20 64 6f 65 73 6e 27 MODEs4...can't.copy.'%s':.doesn'
0f60 74 20 65 78 69 73 74 20 6f 72 20 6e 6f 74 20 61 20 72 65 67 75 6c 61 72 20 66 69 6c 65 73 22 00 t.exist.or.not.a.regular.files".
0f80 00 00 6e 6f 74 20 63 6f 70 79 69 6e 67 20 25 73 20 28 6f 75 74 70 75 74 20 75 70 2d 74 6f 2d 64 ..not.copying.%s.(output.up-to-d
0fa0 61 74 65 29 69 00 00 00 00 73 26 00 00 00 69 6e 76 61 6c 69 64 20 76 61 6c 75 65 20 27 25 73 27 ate)i....s&...invalid.value.'%s'
0fc0 20 66 6f 72 20 27 6c 69 6e 6b 27 20 61 72 67 75 6d 65 6e 74 73 0b 00 00 00 25 73 20 25 73 20 2d .for.'link'.arguments....%s.%s.-
0fe0 3e 20 25 73 69 01 00 00 00 74 03 00 00 00 6d 61 63 4e 73 1f 00 00 00 63 6f 75 6c 64 20 6e 6f 74 >.%si....t....macNs....could.not
1000 20 63 6f 70 79 20 27 25 73 27 20 74 6f 20 27 25 73 27 3a 20 25 73 52 03 00 00 00 52 04 00 00 00 .copy.'%s'.to.'%s':.%sR....R....
1020 28 20 00 00 00 74 12 00 00 00 64 69 73 74 75 74 69 6c 73 2e 64 65 70 5f 75 74 69 6c 52 1a 00 00 (....t....distutils.dep_utilR...
1040 00 74 04 00 00 00 73 74 61 74 52 1b 00 00 00 52 1c 00 00 00 52 1d 00 00 00 52 1e 00 00 00 52 09 .t....statR....R....R....R....R.
1060 00 00 00 52 0b 00 00 00 74 06 00 00 00 69 73 66 69 6c 65 52 00 00 00 00 74 05 00 00 00 69 73 64 ...R....t....isfileR....t....isd
1080 69 72 74 04 00 00 00 6a 6f 69 6e 74 08 00 00 00 62 61 73 65 6e 61 6d 65 74 07 00 00 00 64 69 72 irt....joint....basenamet....dir
10a0 6e 61 6d 65 52 01 00 00 00 74 05 00 00 00 64 65 62 75 67 74 0c 00 00 00 5f 63 6f 70 79 5f 61 63 nameR....t....debugt...._copy_ac
10c0 74 69 6f 6e 74 08 00 00 00 4b 65 79 45 72 72 6f 72 74 0a 00 00 00 56 61 6c 75 65 45 72 72 6f 72 tiont....KeyErrort....ValueError
10e0 74 04 00 00 00 69 6e 66 6f 74 04 00 00 00 6e 61 6d 65 74 0a 00 00 00 6d 61 63 6f 73 74 6f 6f 6c t....infot....namet....macostool
1100 73 74 04 00 00 00 63 6f 70 79 52 0a 00 00 00 52 0c 00 00 00 74 08 00 00 00 73 61 6d 65 66 69 6c st....copyR....R....t....samefil
1120 65 74 04 00 00 00 6c 69 6e 6b 74 07 00 00 00 73 79 6d 6c 69 6e 6b 52 19 00 00 00 74 05 00 00 00 et....linkt....symlinkR....t....
1140 75 74 69 6d 65 74 05 00 00 00 63 68 6d 6f 64 28 12 00 00 00 52 11 00 00 00 52 12 00 00 00 74 0d utimet....chmod(....R....R....t.
1160 00 00 00 70 72 65 73 65 72 76 65 5f 6d 6f 64 65 74 0e 00 00 00 70 72 65 73 65 72 76 65 5f 74 69 ...preserve_modet....preserve_ti
1180 6d 65 73 74 06 00 00 00 75 70 64 61 74 65 52 30 00 00 00 74 07 00 00 00 76 65 72 62 6f 73 65 74 mest....updateR0...t....verboset
11a0 07 00 00 00 64 72 79 5f 72 75 6e 52 1a 00 00 00 52 1b 00 00 00 52 1c 00 00 00 52 1d 00 00 00 52 ....dry_runR....R....R....R....R
11c0 1e 00 00 00 74 03 00 00 00 64 69 72 74 06 00 00 00 61 63 74 69 6f 6e 52 2d 00 00 00 74 03 00 00 ....t....dirt....actionR-...t...
11e0 00 65 78 63 74 02 00 00 00 73 74 28 00 00 00 00 28 00 00 00 00 73 26 00 00 00 2f 73 79 73 2f 6c .exct....st(....(....s&.../sys/l
1200 69 62 2f 70 79 74 68 6f 6e 2f 64 69 73 74 75 74 69 6c 73 2f 66 69 6c 65 5f 75 74 69 6c 2e 70 79 ib/python/distutils/file_util.py
1220 74 09 00 00 00 63 6f 70 79 5f 66 69 6c 65 4c 00 00 00 73 56 00 00 00 00 26 10 01 22 02 13 01 03 t....copy_fileL...sV....&.."....
1240 01 0e 02 13 01 06 01 25 02 12 02 18 01 10 01 0e 02 03 01 0e 01 0e 01 03 01 0f 01 25 01 1a 02 16 .......%...................%....
1260 02 07 01 0e 03 10 01 0c 01 03 01 1a 01 13 01 03 01 20 04 0d 01 29 01 18 01 0d 01 29 01 18 05 0d .....................).....)....
1280 01 0e 01 0f 04 07 01 22 01 07 01 22 02 63 04 00 00 00 0d 00 00 00 0e 00 00 00 43 00 00 00 73 ee ......."...".c............C...s.
12a0 01 00 00 64 01 00 64 02 00 6b 00 00 6c 01 00 7d 04 00 6c 02 00 7d 05 00 6c 03 00 7d 06 00 6c 04 ...d..d..k..l..}..l..}..l..}..l.
12c0 00 7d 07 00 6c 05 00 7d 08 00 01 64 01 00 64 03 00 6b 06 00 7d 09 00 74 07 00 69 08 00 64 04 00 .}..l..}...d..d..k..}..t..i..d..
12e0 7c 00 00 7c 01 00 83 03 00 01 7c 03 00 6f 08 00 01 7c 01 00 53 6e 01 00 01 7c 05 00 7c 00 00 83 |..|......|..o...|..Sn...|..|...
1300 01 00 70 11 00 01 74 09 00 64 05 00 7c 00 00 16 82 02 00 6e 01 00 01 7c 06 00 7c 01 00 83 01 00 ..p...t..d..|......n...|..|.....
1320 6f 1f 00 01 74 0a 00 69 0b 00 69 0c 00 7c 01 00 7c 07 00 7c 00 00 83 01 00 83 02 00 7d 01 00 6e o...t..i..i..|..|..|........}..n
1340 25 00 01 7c 04 00 7c 01 00 83 01 00 6f 17 00 01 74 09 00 64 06 00 7c 00 00 7c 01 00 66 02 00 16 %..|..|.....o...t..d..|..|..f...
1360 82 02 00 6e 01 00 01 7c 06 00 7c 08 00 7c 01 00 83 01 00 83 01 00 70 17 00 01 74 09 00 64 07 00 ...n...|..|..|........p...t..d..
1380 7c 00 00 7c 01 00 66 02 00 16 82 02 00 6e 01 00 01 64 08 00 7d 0a 00 79 14 00 74 0a 00 69 0d 00 |..|..f......n...d..}..y..t..i..
13a0 7c 00 00 7c 01 00 83 02 00 01 57 6e 4e 00 04 74 0a 00 69 0e 00 6a 0a 00 6f 3f 00 01 01 5c 02 00 |..|......WnN..t..i..j..o?...\..
13c0 7d 0b 00 7d 0c 00 01 7c 0b 00 7c 09 00 69 0f 00 6a 02 00 6f 0a 00 01 64 09 00 7d 0a 00 71 59 01 }..}...|..|..i..j..o...d..}..qY.
13e0 01 74 09 00 64 0a 00 7c 00 00 7c 01 00 7c 0c 00 66 03 00 16 82 02 00 6e 02 00 01 58 7c 0a 00 6f .t..d..|..|..|..f......n...X|..o
1400 8a 00 01 74 10 00 7c 00 00 7c 01 00 83 02 00 01 79 11 00 74 0a 00 69 11 00 7c 00 00 83 01 00 01 ...t..|..|......y..t..i..|......
1420 57 71 ea 01 04 74 0a 00 69 0e 00 6a 0a 00 6f 56 00 01 01 5c 02 00 7d 0b 00 7d 0c 00 01 79 11 00 Wq...t..i..j..oV...\..}..}...y..
1440 74 0a 00 69 11 00 7c 01 00 83 01 00 01 57 6e 16 00 04 74 0a 00 69 0e 00 6a 0a 00 6f 07 00 01 01 t..i..|......Wn...t..i..j..o....
1460 01 01 6e 02 00 01 58 74 09 00 64 0b 00 64 0c 00 17 7c 00 00 7c 01 00 7c 00 00 7c 0c 00 66 04 00 ..n...Xt..d..d...|..|..|..|..f..
1480 16 82 02 00 71 ea 01 01 58 6e 01 00 01 7c 01 00 53 28 0d 00 00 00 73 25 01 00 00 4d 6f 76 65 20 ....q...Xn...|..S(....s%...Move.
14a0 61 20 66 69 6c 65 20 27 73 72 63 27 20 74 6f 20 27 64 73 74 27 2e 20 20 49 66 20 27 64 73 74 27 a.file.'src'.to.'dst'...If.'dst'
14c0 20 69 73 20 61 20 64 69 72 65 63 74 6f 72 79 2c 20 74 68 65 20 66 69 6c 65 20 77 69 6c 6c 0a 20 .is.a.directory,.the.file.will..
14e0 20 20 20 62 65 20 6d 6f 76 65 64 20 69 6e 74 6f 20 69 74 20 77 69 74 68 20 74 68 65 20 73 61 6d ...be.moved.into.it.with.the.sam
1500 65 20 6e 61 6d 65 3b 20 6f 74 68 65 72 77 69 73 65 2c 20 27 73 72 63 27 20 69 73 20 6a 75 73 74 e.name;.otherwise,.'src'.is.just
1520 20 72 65 6e 61 6d 65 64 0a 20 20 20 20 74 6f 20 27 64 73 74 27 2e 20 20 52 65 74 75 72 6e 20 74 .renamed.....to.'dst'...Return.t
1540 68 65 20 6e 65 77 20 66 75 6c 6c 20 6e 61 6d 65 20 6f 66 20 74 68 65 20 66 69 6c 65 2e 0a 0a 20 he.new.full.name.of.the.file....
1560 20 20 20 48 61 6e 64 6c 65 73 20 63 72 6f 73 73 2d 64 65 76 69 63 65 20 6d 6f 76 65 73 20 6f 6e ...Handles.cross-device.moves.on
1580 20 55 6e 69 78 20 75 73 69 6e 67 20 27 63 6f 70 79 5f 66 69 6c 65 28 29 27 2e 20 20 57 68 61 74 .Unix.using.'copy_file()'...What
15a0 20 61 62 6f 75 74 0a 20 20 20 20 6f 74 68 65 72 20 73 79 73 74 65 6d 73 3f 3f 3f 0a 20 20 20 20 .about.....other.systems???.....
15c0 69 ff ff ff ff 28 05 00 00 00 52 0c 00 00 00 52 22 00 00 00 52 23 00 00 00 52 25 00 00 00 52 26 i....(....R....R"...R#...R%...R&
15e0 00 00 00 4e 73 0f 00 00 00 6d 6f 76 69 6e 67 20 25 73 20 2d 3e 20 25 73 73 23 00 00 00 63 61 6e ...Ns....moving.%s.->.%ss#...can
1600 27 74 20 6d 6f 76 65 20 27 25 73 27 3a 20 6e 6f 74 20 61 20 72 65 67 75 6c 61 72 20 66 69 6c 65 't.move.'%s':.not.a.regular.file
1620 73 30 00 00 00 63 61 6e 27 74 20 6d 6f 76 65 20 27 25 73 27 3a 20 64 65 73 74 69 6e 61 74 69 6f s0...can't.move.'%s':.destinatio
1640 6e 20 27 25 73 27 20 61 6c 72 65 61 64 79 20 65 78 69 73 74 73 73 32 00 00 00 63 61 6e 27 74 20 n.'%s'.already.existss2...can't.
1660 6d 6f 76 65 20 27 25 73 27 3a 20 64 65 73 74 69 6e 61 74 69 6f 6e 20 27 25 73 27 20 6e 6f 74 20 move.'%s':.destination.'%s'.not.
1680 61 20 76 61 6c 69 64 20 70 61 74 68 69 00 00 00 00 69 01 00 00 00 73 1e 00 00 00 63 6f 75 6c 64 a.valid.pathi....i....s....could
16a0 6e 27 74 20 6d 6f 76 65 20 27 25 73 27 20 74 6f 20 27 25 73 27 3a 20 25 73 73 2b 00 00 00 63 6f n't.move.'%s'.to.'%s':.%ss+...co
16c0 75 6c 64 6e 27 74 20 6d 6f 76 65 20 27 25 73 27 20 74 6f 20 27 25 73 27 20 62 79 20 63 6f 70 79 uldn't.move.'%s'.to.'%s'.by.copy
16e0 2f 64 65 6c 65 74 65 3a 20 73 16 00 00 00 64 65 6c 65 74 65 20 27 25 73 27 20 66 61 69 6c 65 64 /delete:.s....delete.'%s'.failed
1700 3a 20 25 73 28 12 00 00 00 74 07 00 00 00 6f 73 2e 70 61 74 68 52 0c 00 00 00 52 22 00 00 00 52 :.%s(....t....os.pathR....R"...R
1720 23 00 00 00 52 25 00 00 00 52 26 00 00 00 52 16 00 00 00 52 01 00 00 00 52 2b 00 00 00 52 00 00 #...R%...R&...R....R....R+...R..
1740 00 00 52 09 00 00 00 52 0b 00 00 00 52 24 00 00 00 74 06 00 00 00 72 65 6e 61 6d 65 52 0a 00 00 ..R....R....R$...t....renameR...
1760 00 74 05 00 00 00 45 58 44 45 56 52 3d 00 00 00 52 0d 00 00 00 28 0d 00 00 00 52 11 00 00 00 52 .t....EXDEVR=...R....(....R....R
1780 12 00 00 00 52 37 00 00 00 52 38 00 00 00 52 0c 00 00 00 52 22 00 00 00 52 23 00 00 00 52 25 00 ....R7...R8...R....R"...R#...R%.
17a0 00 00 52 26 00 00 00 52 16 00 00 00 74 07 00 00 00 63 6f 70 79 5f 69 74 74 03 00 00 00 6e 75 6d ..R&...R....t....copy_itt....num
17c0 74 03 00 00 00 6d 73 67 28 00 00 00 00 28 00 00 00 00 73 26 00 00 00 2f 73 79 73 2f 6c 69 62 2f t....msg(....(....s&.../sys/lib/
17e0 70 79 74 68 6f 6e 2f 64 69 73 74 75 74 69 6c 73 2f 66 69 6c 65 5f 75 74 69 6c 2e 70 79 74 09 00 python/distutils/file_util.pyt..
1800 00 00 6d 6f 76 65 5f 66 69 6c 65 b6 00 00 00 73 50 00 00 00 00 0b 28 01 0c 02 13 02 07 01 08 02 ..move_file....sP.....(.........
1820 0d 01 03 01 0e 02 0d 01 1f 01 0d 01 03 01 03 01 11 02 13 01 03 01 03 01 11 02 06 01 03 01 14 01 ................................
1840 19 01 10 01 0a 02 03 01 18 02 07 01 0d 01 03 01 11 01 19 01 03 01 11 01 11 01 05 01 03 01 03 01 ................................
1860 04 01 1c 02 63 02 00 00 00 04 00 00 00 04 00 00 00 43 00 00 00 73 3f 00 00 00 74 00 00 7c 00 00 ....c............C...s?...t..|..
1880 64 01 00 83 02 00 7d 02 00 78 1f 00 7c 01 00 44 5d 17 00 7d 03 00 7c 02 00 69 01 00 7c 03 00 64 d.....}..x..|..D]..}..|..i..|..d
18a0 02 00 17 83 01 00 01 71 16 00 57 7c 02 00 69 02 00 83 00 00 01 64 03 00 53 28 04 00 00 00 73 7b .......q..W|..i......d..S(....s{
18c0 00 00 00 43 72 65 61 74 65 20 61 20 66 69 6c 65 20 77 69 74 68 20 74 68 65 20 73 70 65 63 69 66 ...Create.a.file.with.the.specif
18e0 69 65 64 20 6e 61 6d 65 20 61 6e 64 20 77 72 69 74 65 20 27 63 6f 6e 74 65 6e 74 73 27 20 28 61 ied.name.and.write.'contents'.(a
1900 0a 20 20 20 20 73 65 71 75 65 6e 63 65 20 6f 66 20 73 74 72 69 6e 67 73 20 77 69 74 68 6f 75 74 .....sequence.of.strings.without
1920 20 6c 69 6e 65 20 74 65 72 6d 69 6e 61 74 6f 72 73 29 20 74 6f 20 69 74 2e 0a 20 20 20 20 74 01 .line.terminators).to.it......t.
1940 00 00 00 77 73 01 00 00 00 0a 4e 28 03 00 00 00 52 08 00 00 00 52 0f 00 00 00 52 10 00 00 00 28 ...ws.....N(....R....R....R....(
1960 04 00 00 00 74 08 00 00 00 66 69 6c 65 6e 61 6d 65 74 08 00 00 00 63 6f 6e 74 65 6e 74 73 74 01 ....t....filenamet....contentst.
1980 00 00 00 66 74 04 00 00 00 6c 69 6e 65 28 00 00 00 00 28 00 00 00 00 73 26 00 00 00 2f 73 79 73 ...ft....line(....(....s&.../sys
19a0 2f 6c 69 62 2f 70 79 74 68 6f 6e 2f 64 69 73 74 75 74 69 6c 73 2f 66 69 6c 65 5f 75 74 69 6c 2e /lib/python/distutils/file_util.
19c0 70 79 74 0a 00 00 00 77 72 69 74 65 5f 66 69 6c 65 f6 00 00 00 73 0a 00 00 00 00 04 0f 01 07 00 pyt....write_file....s..........
19e0 06 01 15 01 69 00 40 00 00 28 0d 00 00 00 74 07 00 00 00 5f 5f 64 6f 63 5f 5f 74 0c 00 00 00 5f ....i.@..(....t....__doc__t...._
1a00 5f 72 65 76 69 73 69 6f 6e 5f 5f 52 09 00 00 00 74 10 00 00 00 64 69 73 74 75 74 69 6c 73 2e 65 _revision__R....t....distutils.e
1a20 72 72 6f 72 73 52 00 00 00 00 74 09 00 00 00 64 69 73 74 75 74 69 6c 73 52 01 00 00 00 52 07 00 rrorsR....t....distutilsR....R..
1a40 00 00 52 28 00 00 00 52 19 00 00 00 52 3d 00 00 00 52 44 00 00 00 52 4a 00 00 00 28 00 00 00 00 ..R(...R....R=...RD...RJ...(....
1a60 28 00 00 00 00 28 00 00 00 00 73 26 00 00 00 2f 73 79 73 2f 6c 69 62 2f 70 79 74 68 6f 6e 2f 64 (....(....s&.../sys/lib/python/d
1a80 69 73 74 75 74 69 6c 73 2f 66 69 6c 65 5f 75 74 69 6c 2e 70 79 73 08 00 00 00 3c 6d 6f 64 75 6c istutils/file_util.pys....<modul
1aa0 65 3e 04 00 00 00 73 22 00 00 00 06 04 06 02 0c 01 10 01 10 03 0d 01 09 01 0b 03 0c 39 03 01 03 e>....s"....................9...
1ac0 01 03 01 03 01 03 01 0c 65 03 01 0c 3e ........e...>