MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / wire

Function wire

tests/test_profile_text_parser.py:18–22  ·  view source on GitHub ↗
(name=b'f', function_hash=24, counters=(0,))

Source from the content-addressed store, hash-verified

16
17
18def wire(name=b'f', function_hash=24, counters=(0,)):
19 return (name + b'\n# Func Hash:\n' + str(function_hash).encode() +
20 b'\n# Num Counters:\n' + str(len(counters)).encode() +
21 b'\n# Counter Values:\n' +
22 b''.join(str(x).encode() + b'\n' for x in counters) + b'\n')
23
24
25def values(rows):

Calls 1

strFunction · 0.85

Tested by

no test coverage detected