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

Function bootstrap_find_arg

src/daemon/bootstrap.c:61–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59}
60
61static int bootstrap_find_arg(int argc, char *const argv[], const char *expected) {
62 for (int i = 1; argv && i < argc; i++) {
63 if (bootstrap_arg_is(argv[i], expected)) {
64 return i;
65 }
66 }
67 return -1;
68}
69
70static bool bootstrap_has_help_after(int argc, char *const argv[], int start) {
71 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