MCPcopy Create free account
hub / github.com/cdgriffith/Box / comments

Method comments

test/test_comments.py:258–259  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

256 bl.set_comment(index, "abcd"[index])
257
258 def comments():
259 return [(bl.get_comment(i) or {}).get("eol") for i in range(len(bl))]
260
261 bl.insert(1, "new")
262 assert comments() == ["a", None, "b", "c", "d"]

Callers

nothing calls this directly

Calls 2

getMethod · 0.80
get_commentMethod · 0.45

Tested by

no test coverage detected