检查文件是否存在于OneDrive :param save_path: 文件路径 :return: 文件是否存在
(self, save_path: str)
| 851 | raise e |
| 852 | |
| 853 | async def file_exists(self, save_path: str) -> bool: |
| 854 | """ |
| 855 | 检查文件是否存在于OneDrive |
| 856 | :param save_path: 文件路径 |
| 857 | :return: 文件是否存在 |
| 858 | """ |
| 859 | return await asyncio.to_thread(self._file_exists, save_path) |
| 860 | |
| 861 | |
| 862 | class OpenDALFileStorage(FileStorageInterface): |
nothing calls this directly
no outgoing calls
no test coverage detected