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

Function arch_path_is_set

src/store/store.c:8225–8233  ·  view source on GitHub ↗

Path scoping for architecture / schema (shared). */

Source from the content-addressed store, hash-verified

8223
8224/* Path scoping for architecture / schema (shared). */
8225static bool arch_path_is_set(const char *path) {
8226 if (!path) {
8227 return false;
8228 }
8229 while (*path == ' ' || *path == '\t' || *path == '\n' || *path == '\r') {
8230 path++;
8231 }
8232 return path[0] != '\0';
8233}
8234
8235static bool arch_path_prepare(const char *path, char *norm_out, size_t norm_sz, char *like_out,
8236 size_t like_sz) {

Callers 1

arch_path_prepareFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected