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

Function tic_number

src/mcp/test_impact_cli.c:55–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55static int64_t tic_number(const char *text, int64_t fallback) {
56 if (!text || !*text) {
57 return fallback;
58 }
59 char *end = NULL;
60 long long value = strtoll(text, &end, 10);
61 return end && !*end && value > 0 ? (int64_t)value : -1;
62}
63
64/* <cache>/test-impact unless --work names another private parent. */
65static const char *tic_work(const char *requested, char *buf, size_t cap) {

Callers 2

tic_publishFunction · 0.85
tic_selectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected