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

Function cbm_upsert_crush_context_path

src/cli/cli.c:4250–4256  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4248}
4249
4250static int cbm_upsert_crush_context_path(const char *config_path, const char *context_path) {
4251 static const char *const path[] = {"options"};
4252 return cbm_json_like_add_unique_string_at_path(config_path, path, 1U, "context_paths",
4253 context_path) == 0
4254 ? CLI_OK
4255 : CLI_ERR;
4256}
4257
4258static int cbm_remove_crush_context_path(const char *config_path, const char *context_path) {
4259 static const char *const path[] = {"options"};

Callers 1

Tested by

no test coverage detected