(self, file_code: FileCodes)
| 131 | await asyncio.to_thread(self._save, file.file, safe_save_path) |
| 132 | |
| 133 | async def delete_file(self, file_code: FileCodes): |
| 134 | save_path = self.root_path / await file_code.get_file_path() |
| 135 | if save_path.exists(): |
| 136 | save_path.unlink() |
| 137 | |
| 138 | async def get_file_url(self, file_code: FileCodes): |
| 139 | return await get_file_url(file_code.code) |
nothing calls this directly
no test coverage detected