MCPcopy Index your code
hub / github.com/vastsa/FileCodeBox / delete_file

Method delete_file

core/storage.py:883–884  ·  view source on GitHub ↗
(self, file_code: FileCodes)

Source from the content-addressed store, hash-verified

881 await self.operator.write(save_path, content)
882
883 async def delete_file(self, file_code: FileCodes):
884 await self.operator.delete(await file_code.get_file_path())
885
886 async def get_file_url(self, file_code: FileCodes):
887 return await get_file_url(file_code.code)

Callers

nothing calls this directly

Calls 2

deleteMethod · 0.80
get_file_pathMethod · 0.80

Tested by

no test coverage detected