MCPcopy Index your code
hub / github.com/TaskingAI/TaskingAI / rest_capacity

Method rest_capacity

backend/app/models/retrieval/collection.py:33–34  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

31 return (self.capacity - self.num_chunks) >= capacity
32
33 def rest_capacity(self):
34 return self.capacity - self.num_chunks
35
36 @staticmethod
37 def get_chunk_table_name(collection_id: str):

Callers 2

createMethod · 0.80
updateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected