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

Function detect_cursor_encode

src/mcp/mcp.c:18184–18187  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18182}
18183
18184static void detect_cursor_encode(char stream, const char snapshot[33], uint64_t qhash, int offset,
18185 char out[80]) {
18186 snprintf(out, 80, "d1.%c.%s.%016llx.%d", stream, snapshot, (unsigned long long)qhash, offset);
18187}
18188
18189static const char *detect_cursor_decode(const char *token, char expected_stream,
18190 const char current_snapshot[33], uint64_t expected_qhash,

Callers 1

handle_detect_changesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected