| 238 | } |
| 239 | |
| 240 | fs::path AbsPathForConfigVal(const ArgsManager& args, const fs::path& path, bool net_specific) |
| 241 | { |
| 242 | if (path.is_absolute() || path.empty()) { |
| 243 | return path; |
| 244 | } |
| 245 | return fsbridge::AbsPathJoin(net_specific ? args.GetDataDirNet() : args.GetDataDirBase(), path); |
| 246 | } |
no test coverage detected