Rework open file resource management

This commit is contained in:
Antonio SJ Musumeci 2026-01-19 15:16:01 -06:00
parent a47842e2f8
commit e32985e490
11 changed files with 453 additions and 303 deletions

View file

@ -123,12 +123,11 @@ test_str_stuff()
void
test_config_branches()
{
uint64_t minfreespace;
Branches b(minfreespace);
Branches b;
Branches::Ptr bcp0;
Branches::Ptr bcp1;
minfreespace = 1234;
b.minfreespace = 1234;
TEST_CHECK(b->minfreespace() == 1234);
TEST_CHECK(b.to_string() == "");