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

Method file_exists

core/storage.py:92–98  ·  view source on GitHub ↗

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

(self, save_path: str)

Source from the content-addressed store, hash-verified

90 return None # 默认不支持直传,使用代理模式
91
92 async def file_exists(self, save_path: str) -> bool:
93 """
94 检查文件是否存在
95 :param save_path: 文件路径
96 :return: 文件是否存在
97 """
98 raise NotImplementedError
99
100 async def clean_chunks(self, upload_id: str, save_path: str):
101 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected