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

Class stat

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

Source from the content-addressed store, hash-verified

314 ASSERT_EQ(symlink(target, path), 0);
315 ASSERT_EQ(cbm_toml_upsert_managed_block(path, CTE_BEGIN, CTE_END, "owned = true\n"), -1);
316 struct stat link_state;
317 ASSERT_EQ(lstat(path, &link_state), 0);
318 ASSERT(S_ISLNK(link_state.st_mode));
319 ASSERT_EQ(cte_read(target, actual, sizeof(actual)), 0);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected