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

Function th_ui_mutation_begin

tests/test_httpd.c:715–720  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

713}
714
715static bool th_ui_mutation_begin(void *opaque, const char *project) {
716 th_ui_mutation_guard_t *guard = opaque;
717 snprintf(guard->begin_project, sizeof(guard->begin_project), "%s", project ? project : "");
718 atomic_fetch_add(&guard->begin_calls, 1);
719 return guard->allow;
720}
721
722static void th_ui_mutation_end(void *opaque, const char *project) {
723 th_ui_mutation_guard_t *guard = opaque;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected