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

Function ni_path

tests/test_test_impact_inventory.c:3–7  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1#include "test_test_impact_inventory_internal.h"
2
3static bool ni_path(cbm_inventory_path_t path, const char *expected) {
4 size_t length = strlen(expected);
5 return path.length == length && (length ? path.data && !memcmp(path.data, expected, length + 1)
6 : !path.data || !path.data[0]);
7}
8
9static bool ni_default_file(const if_native *n, const cbm_inventory_filter_view_t *view, size_t i,
10 const char *path) {

Callers 3

ni_default_fileFunction · 0.85
ni_default_controlsFunction · 0.85
ni_empty_resultFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected