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

Function path_is_root_syntax

src/pipeline/fqn.c:404–414  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

402}
403
404static bool path_is_root_syntax(const char *path) {
405 if (!path || !path[0]) {
406 return false;
407 }
408 for (const char *p = path; *p; p++) {
409 if (*p != '/' && *p != '\\' && *p != ':') {
410 return false;
411 }
412 }
413 return true;
414}
415
416char *cbm_project_name_from_path(const char *abs_path) {
417 if (!abs_path || !abs_path[0]) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected