MCPcopy Create free account
hub / github.com/VJBots/VJ-Forward-Bot / is_file_exit

Method is_file_exit

plugins/db.py:34–36  ·  view source on GitHub ↗
(self, file_id)

Source from the content-addressed store, hash-verified

32 return await self.files.insert_one(file)
33
34 async def is_file_exit(self, file_id):
35 f = await self.files.find_one({"file_id": file_id})
36 return bool(f)
37
38 async def get_all_files(self):
39 return self.files.find({})

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected