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

Function bootstrap_find_arg

src/daemon/bootstrap.c:49–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49static int bootstrap_find_arg(int argc, char *const argv[], const char *expected) {
50 for (int i = 1; argv && i < argc; i++) {
51 if (bootstrap_arg_is(argv[i], expected)) {
52 return i;
53 }
54 }
55 return -1;
56}
57
58static bool bootstrap_has_help_after(int argc, char *const argv[], int start) {
59 for (int i = start; argv && i < argc; i++) {

Callers 1

cbm_daemon_process_roleFunction · 0.85

Calls 1

bootstrap_arg_isFunction · 0.85

Tested by

no test coverage detected