MCPcopy Create free account
hub / github.com/JoshuaPostel/texaform / address

Method address

python/gather.py:29–32  ·  view source on GitHub ↗
(self, entity: str, n: int)

Source from the content-addressed store, hash-verified

27 self.area = Rect(self.root, self.root + Point(width, height))
28
29 def address(self, entity: str, n: int) -> Point:
30 root = self.resource_roots[entity]
31 y = n + ((n - 1) // 5)
32 return root + Point(0, y)
33
34 def store(self, dog: Dog, entity: str):
35 try:

Callers 2

storeMethod · 0.95
takeMethod · 0.95

Calls 1

PointClass · 0.90

Tested by

no test coverage detected