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

Method delete_file

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

Source from the content-addressed store, hash-verified

308 )
309
310 async def delete_file(self, file_code: FileCodes):
311 async with self._client() as s3:
312 await s3.delete_object(
313 Bucket=self.bucket_name, Key=await file_code.get_file_path()
314 )
315
316 async def get_file_response(self, file_code: FileCodes):
317 try:

Callers 1

delete_expire_filesFunction · 0.45

Calls 2

_clientMethod · 0.95
get_file_pathMethod · 0.80

Tested by

no test coverage detected