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

Function url_in

tests/test_extraction.c:5872–5875  ·  view source on GitHub ↗

The URL a call hands to its client: first_string_arg, or "" when none. */

Source from the content-addressed store, hash-verified

5870
5871/* The URL a call hands to its client: first_string_arg, or "" when none. */
5872static const char *url_in(CBMFileResult *r, const char *callee, const char *func) {
5873 const CBMCall *c = find_call_in_func(r, callee, func);
5874 return (c && c->first_string_arg) ? c->first_string_arg : "";
5875}
5876
5877/* True when the URL is not presented as a path or an absolute URL. */
5878static bool url_not_claimed(CBMFileResult *r, const char *callee, const char *func) {

Callers 1

test_extraction.cFile · 0.85

Calls 1

find_call_in_funcFunction · 0.85

Tested by

no test coverage detected