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

Class stat

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

Source from the content-addressed store, hash-verified

263 ASSERT_EQ(symlink(target, path), 0);
264 ASSERT_EQ(cbm_toml_upsert_managed_block(path, CTE_BEGIN, CTE_END, "owned = true\n"), -1);
265 struct stat link_state;
266 ASSERT_EQ(lstat(path, &link_state), 0);
267 ASSERT(S_ISLNK(link_state.st_mode));
268 ASSERT_EQ(cte_read(target, actual, sizeof(actual)), 0);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected