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

Function ends_with

tests/repro/repro_lsp_ordered_local.c:23–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21#include <string.h>
22
23static bool ends_with(const char *text, const char *suffix) {
24 if (!text || !suffix)
25 return false;
26 size_t text_len = strlen(text);
27 size_t suffix_len = strlen(suffix);
28 return suffix_len <= text_len && strcmp(text + text_len - suffix_len, suffix) == 0;
29}
30
31static void print_resolved_calls(const CBMResolvedCallArray *calls) {
32 if (!calls)

Callers 1

has_resolved_suffixFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected