| 64 | } |
| 65 | |
| 66 | std::filesystem::path resolve_path(const std::string & value) { |
| 67 | auto path = std::filesystem::path(value); |
| 68 | return path.is_absolute() ? path : std::filesystem::weakly_canonical(std::filesystem::current_path() / path); |
| 69 | } |
| 70 | |
| 71 | std::string optional_string(const engine::io::json::Value & object, const std::string & key) { |
| 72 | const auto * value = object.find(key); |