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

Function arch_path_is_set

src/store/store.c:5082–5090  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

5080
5081/* Path scoping for architecture / schema (shared). */
5082static bool arch_path_is_set(const char *path) {
5083 if (!path) {
5084 return false;
5085 }
5086 while (*path == ' ' || *path == '\t' || *path == '\n' || *path == '\r') {
5087 path++;
5088 }
5089 return path[0] != '\0';
5090}
5091
5092static bool arch_path_prepare(const char *path, char *norm_out, size_t norm_sz, char *like_out,
5093 size_t like_sz) {

Callers 1

arch_path_prepareFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected