fix:去除文件操作全局锁

This commit is contained in:
jxxghp
2026-01-21 08:31:51 +08:00
parent 85cacd447b
commit 68402aadd7
4 changed files with 106 additions and 105 deletions
+1 -1
View File
@@ -126,7 +126,7 @@ class LocalStorage(StorageBase):
return None
path_obj = Path(fileitem.path) / name
if not path_obj.exists():
path_obj.mkdir(parents=True)
path_obj.mkdir(parents=True, exist_ok=True)
return self.__get_diritem(path_obj)
def get_folder(self, path: Path) -> Optional[schemas.FileItem]: