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

Method delete_file

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

Source from the content-addressed store, hash-verified

644 raise e
645
646 async def delete_file(self, file_code: FileCodes):
647 await asyncio.to_thread(self._delete, await file_code.get_file_path())
648
649 def _convert_link_to_download_link(self, link):
650 p1 = re.search(r"https://(.+)\.sharepoint\.com", link).group(1)

Callers

nothing calls this directly

Calls 1

get_file_pathMethod · 0.80

Tested by

no test coverage detected