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

Method save_file

core/storage.py:32–36  ·  view source on GitHub ↗

保存文件

(self, file: UploadFile, save_path: str)

Source from the content-addressed store, hash-verified

30class FileStorageInterface:
31
32 async def save_file(self, file: UploadFile, save_path: str):
33 """
34 保存文件
35 """
36 raise NotImplementedError
37
38 async def delete_file(self, file_code: FileCodes):
39 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected