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

Function df_starts

src/mcp/test_impact_diff.c:54–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54static bool df_starts(const df_line_t *line, const char *prefix) {
55 size_t n = strlen(prefix);
56 return line->len >= n && memcmp(line->text, prefix, n) == 0;
57}
58
59static bool df_is(const df_line_t *line, const char *text) {
60 size_t n = strlen(text);

Callers 4

df_hunk_headerFunction · 0.85
df_header_pathFunction · 0.85
df_file_header_lineFunction · 0.85
df_readFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected