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

Function spawn_module

internal/cbm/spawn_patterns.c:386–389  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

384/* An import value without Node's `node:` scheme. */
385static const char spawn_node_scheme[] = "node:";
386static const char *spawn_module(const char *val) {
387 size_t n = sizeof(spawn_node_scheme) - 1;
388 return strncmp(val, spawn_node_scheme, n) == 0 ? val + n : val;
389}
390
391static const char *const spawn_separators[] = {"::", ".", ":", "/", "\\", NULL};
392

Callers 2

spawn_expandFunction · 0.85
spawn_imports_moduleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected