28 static vector<string> getPathsHelper(
const vector<string>& input)
30 vector<string> result;
31 for (
auto& s : input) {
50 static string resolveHelper(
const vector<string>& pathList,
61 for (
auto& p : pathList) {
70 throw FileException(filename +
" not found in this context");
75 vector<string> pathList = getPathsHelper(
paths);
76 string result = resolveHelper(pathList, filename);
84 vector<string> pathList = getPathsHelper(
savePaths);
86 result = resolveHelper(pathList, filename);
88 string path = pathList.front();
103 return getPathsHelper(
paths);
113 static string backSubstSymbols(
const string& path)
158 if (!savePath.
empty()) {
176 template<
typename Archive>
179 ar.serialize(
"paths",
paths);