#pragma once #include #include #include namespace kel { namespace lbm { saw::error_or output_directory(){ const char* home_dir = std::getenv("HOME"); if(not home_dir){ return saw::make_error("Couldn't find home dir"); } return std::filesystem::path{home_dir} / ".lbm/"; } } }