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

Function path_is_root_syntax

src/pipeline/fqn.c:415–425  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

413}
414
415static bool path_is_root_syntax(const char *path) {
416 if (!path || !path[0]) {
417 return false;
418 }
419 for (const char *p = path; *p; p++) {
420 if (*p != '/' && *p != '\\' && *p != ':') {
421 return false;
422 }
423 }
424 return true;
425}
426
427char *cbm_project_name_from_path(const char *abs_path) {
428 if (!abs_path || !abs_path[0]) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected