MCPcopy Create free account
hub / github.com/antirez/ds4 / default_backend

Function default_backend

ds4_agent.c:484–492  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

482 *out = (int)v;
483 return true;
484}
485
486static bool agent_slash_command_with_args(const char *cmd, const char *name) {
487 size_t len = strlen(name);
488 return !strncmp(cmd, name, len) &&
489 (cmd[len] == '\0' || isspace((unsigned char)cmd[len]));
490}
491
492static bool agent_slash_command_known(const char *cmd) {
493 return !strcmp(cmd, "/help") ||
494 !strcmp(cmd, "/save") ||
495 !strcmp(cmd, "/compact") ||

Callers 1

parse_optionsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected