Commit Graph

346 Commits

Author SHA1 Message Date
agnewee 0c81bbd693 add compat test case 2017-12-04 23:55:44 +08:00
agnewee a72791507f move ulib and urlparse to compat 2017-12-04 23:55:25 +08:00
xzg 2ed414a46c Add describetion for makedirs in file 2017-12-04 22:45:17 +08:00
xzg 4a4c1f84e7 Add file in index 2017-12-04 22:32:22 +08:00
xzg 4083209be0 Adjuest format 2017-12-04 22:30:11 +08:00
xzg 94f3ab4e41 Add docs for file.py 2017-12-04 22:26:20 +08:00
xzg 0989b94eb9 add describtion for function in file.py 2017-12-04 22:25:52 +08:00
focalism 320cc8269d
Merge pull request #3 from Prodesire/master
merge from the origin
2017-12-04 20:35:35 +08:00
Prodesire e2c73ac487 Merge branch 'focalism-master' 2017-12-03 22:13:38 +08:00
Prodesire 1cd3b1a485 fix and improve format for focalism-master 2017-12-03 22:13:22 +08:00
xuzg 495cc1b7e9 Add test for symlink 2017-12-02 17:01:44 +08:00
xuzg ea35a05ce8 Add symlink function 2017-12-02 17:01:10 +08:00
xuzg 1fe52eb8fe Keep symlink in a direcotory when follow_symlink is false 2017-12-02 16:45:14 +08:00
xuzg b0f8c07d0e Modify link to symlink 2017-12-02 16:36:49 +08:00
xuzg 6c1c686c15 Delete test in link for can not link a dir to another 2017-12-02 16:33:16 +08:00
xuzg fd0965e02f makedir before open an not exist file 2017-12-02 16:26:34 +08:00
xuzg a58d48209a Open file with write mode 2017-12-02 16:20:00 +08:00
xuzg cb28914589 Add test for link copy 2017-12-02 16:14:14 +08:00
xuzg f45d227cda py2 shutil.copy have no paraamter follow_symlink 2017-12-02 16:13:47 +08:00
Prodesire d60bc2e3b8 add test for file.link 2017-12-02 11:09:05 +08:00
Prodesire afe7fa6bdc rename Testmakedirs to TestMakeDirs 2017-12-02 10:37:59 +08:00
Prodesire 95d366771d Fix #2, file.link only available on No Windows platform 2017-12-02 10:33:55 +08:00
Prodesire 2e14d32bf2 Add platform to help judge which platform we are working on 2017-12-02 10:32:11 +08:00
xuzg 75a7be7ea2 Add test forremoves open_file and so on 2017-12-01 22:44:32 +08:00
xuzg 1c7f5ed830 Add exit_ok=True in open file when parent dir is exists 2017-12-01 22:43:46 +08:00
xuzg 99c9a3f837 Merge branch 'master' of github.com:focalism/pydu 2017-12-01 20:55:08 +08:00
xuzg 46da49052a Add tests for remove 2017-12-01 20:54:57 +08:00
focalism 2164c67e4f
Merge pull request #2 from Prodesire/master
merge from origin
2017-12-01 20:53:58 +08:00
Prodesire fb429508a3 add docstring for makedirs, remove, removes and open_files 2017-12-01 08:30:50 +08:00
Prodesire b8cab1e944 file.makedirs's exist_ok default to False 2017-12-01 08:13:33 +08:00
Prodesire 3dcc82f416 modify file.makedirs logical 2017-12-01 08:09:39 +08:00
Prodesire ffafe04d70
Merge pull request #1 from focalism/master
add testcase for makedirs
2017-11-30 22:09:22 +08:00
xuzg 23845c8cbb Add test for makedirs 2017-11-30 09:23:40 +08:00
xuzg 9739b94831 tarnsfer py3 to py2 2017-11-30 09:23:04 +08:00
focalism 23f4b049bb
Merge pull request #1 from Prodesire/master
更新上有代码
2017-11-29 20:46:55 +08:00
Prodesire 1bea626b6d remove todo in network 2017-11-29 08:25:57 +08:00
Prodesire eaa11e6919 add doc for network 2017-11-29 08:25:02 +08:00
Prodesire dcd5584c06 fix inspect doc error 2017-11-29 08:24:53 +08:00
Prodesire fb2fa7eb62 fix cmd doc replicate 2017-11-29 08:11:02 +08:00
Prodesire 96375a1c1f add file includes several methods include remove, copy and etc. 2017-11-28 22:55:51 +08:00
Prodesire c0e274b811 rename "execute" to "run" of cmd; add "timeout" param to "run" 2017-11-27 00:37:00 +08:00
Prodesire b6b3bd674d add common_suffix to string 2017-11-26 15:18:15 +08:00
Prodesire e10a2dadd3 improve min method in common_prefix 2017-11-26 15:13:45 +08:00
Prodesire 7725d9ed41 add common_prefix for string 2017-11-26 15:10:50 +08:00
Prodesire 79d6896a01 add test for super_len 2017-11-24 21:52:17 +08:00
Prodesire 56067956ee add super_len to misc 2017-11-23 08:29:52 +08:00
Prodesire cd5d55225d add is_ipv4_address to network 2017-11-22 08:29:06 +08:00
Prodesire 2b6b5a03c1 add network.py and dotted_network to it 2017-11-22 08:25:45 +08:00
Prodesire eef3a2c79a add uniq to list 2017-11-21 13:10:44 +08:00
Prodesire 4aa8907956 merge independent implement of inspect for PY2 and PY3 into on one 2017-11-20 08:24:00 +08:00