更新代码

This commit is contained in:
JoeamAmier
2023-09-03 16:10:02 +08:00
parent ea7c7d2ed1
commit 26c4a7d9c9

View File

@@ -1,4 +1,5 @@
from pathlib import Path
from shutil import move
__all__ = ['Manager']
@@ -11,3 +12,7 @@ class Manager:
@staticmethod
def delete(path: Path):
path.unlink()
@staticmethod
def remove(temp: Path, path: Path):
move(temp.resolve(), path.resolve())