MCPcopy Create free account
hub / github.com/vastsa/FileCodeBox / file_exists

Method file_exists

core/storage.py:853–859  ·  view source on GitHub ↗

检查文件是否存在于OneDrive :param save_path: 文件路径 :return: 文件是否存在

(self, save_path: str)

Source from the content-addressed store, hash-verified

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
862class OpenDALFileStorage(FileStorageInterface):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected