10 lines
267 B
C++
10 lines
267 B
C++
#include "grbc/spec.h"
|
|
#include <filesystem>
|
|
|
|
std::string grbc_file(const std::string &file_path) {
|
|
if (!std::filesystem::exists(file_path)) {
|
|
grbc_exception("grbc_file gave path '" + file_path + "', which does not exist!");
|
|
}
|
|
|
|
return file_path;
|
|
} |