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

Class stat

tests/test_config_toml_edit.c:283–283  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

281 ASSERT_EQ(symlink(target, path), 0);
282 ASSERT_EQ(cbm_toml_upsert_managed_block(path, CTE_BEGIN, CTE_END, "owned = true\n"), -1);
283 struct stat link_state;
284 ASSERT_EQ(lstat(path, &link_state), 0);
285 ASSERT(S_ISLNK(link_state.st_mode));
286 ASSERT_EQ(cte_read(target, actual, sizeof(actual)), 0);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected