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

Function openhands_fixture_close

tests/test_cli.c:5543–5548  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5541}
5542
5543static void openhands_fixture_close(openhands_fixture_t *fx) {
5544 restore_test_env("HOME", fx->saved_home);
5545 restore_test_env("PATH", fx->saved_path);
5546 restore_test_env("CBM_CACHE_DIR", fx->saved_cache);
5547 test_rmdir_r(fx->home);
5548}
5549
5550static yyjson_doc *openhands_read_doc(const char *path) {
5551 char *data = read_test_file_alloc(path);

Callers 1

test_cli.cFile · 0.85

Calls 2

restore_test_envFunction · 0.85
test_rmdir_rFunction · 0.85

Tested by

no test coverage detected