镜像自地址
https://github.com/arsenetar/send2trash.git
已同步 2025-09-11 18:08:16 +00:00
比较提交
6 次代码提交
00dfe77e40
...
2eb3242cd9
| 作者 | SHA1 | 提交日期 | |
|---|---|---|---|
| 2eb3242cd9 | |||
| 60bcb2c834 | |||
| c411f4eae4 | |||
| f64c69f905 | |||
|
|
f62b4f1ffd | ||
|
|
20bbab0b4c |
@ -23,6 +23,11 @@ matrix:
|
|||||||
- python: "nightly" # 3.10
|
- python: "nightly" # 3.10
|
||||||
before_script:
|
before_script:
|
||||||
- export TOXENV=py310
|
- export TOXENV=py310
|
||||||
|
- python: "2.7"
|
||||||
|
arch: ppc64le
|
||||||
|
- python: "3.6"
|
||||||
|
arch: ppc64le
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- python -m pip install tox
|
- python -m pip install tox
|
||||||
before_script:
|
before_script:
|
||||||
|
|||||||
@ -111,9 +111,9 @@ def trash_move(src, dst, topdir=None):
|
|||||||
check_create(filespath)
|
check_create(filespath)
|
||||||
check_create(infopath)
|
check_create(infopath)
|
||||||
|
|
||||||
os.rename(src, op.join(filespath, destname))
|
|
||||||
with open(op.join(infopath, destname + INFO_SUFFIX), "w") as f:
|
with open(op.join(infopath, destname + INFO_SUFFIX), "w") as f:
|
||||||
f.write(info_for(src, topdir))
|
f.write(info_for(src, topdir))
|
||||||
|
os.rename(src, op.join(filespath, destname))
|
||||||
|
|
||||||
|
|
||||||
def find_mount_point(path):
|
def find_mount_point(path):
|
||||||
|
|||||||
正在加载...
x
在新工单中引用
屏蔽一个用户