feat(storage): support remove old files

This commit is contained in:
MingxuanGame
2025-08-28 12:17:35 +00:00
parent cbc46d63b6
commit 80b102af2d
7 changed files with 68 additions and 0 deletions

View File

@@ -30,5 +30,9 @@ class StorageService(abc.ABC):
async def get_file_url(self, file_path: str) -> str:
raise NotImplementedError
@abc.abstractmethod
def get_file_name_by_url(self, url: str) -> str | None:
raise NotImplementedError
async def close(self) -> None:
pass