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

Function application_index_project_key

src/daemon/application.c:1875–1882  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1873}
1874
1875static char *application_index_project_key(const char *root_path, const char *args_json) {
1876 yyjson_doc *doc = yyjson_read_opts((char *)args_json, strlen(args_json), 0,
1877 cbm_json_writer_allocator(), NULL);
1878 const char *override = yyjson_get_str(yyjson_obj_get(yyjson_doc_get_root(doc), "name"));
1879 char *key = cbm_project_name_from_path(override && override[0] ? override : root_path);
1880 yyjson_doc_free(doc);
1881 return key;
1882}
1883
1884static size_t application_active_job_count_locked(cbm_daemon_application_t *application) {
1885 size_t count = 0;

Calls 2

Tested by

no test coverage detected