15 std::vector<std::string>&& savePaths);
20 [[nodiscard]]
const std::vector<std::string>&
getPaths()
const;
23 template<
typename Archive>
24 void serialize(Archive& ar,
unsigned version);
27 std::vector<std::string> paths;
28 mutable std::vector<std::string> paths2;
29 std::vector<std::string> savePaths;
30 mutable std::vector<std::string> savePaths2;
void serialize(Archive &ar, unsigned version)
std::string resolveCreate(std::string_view filename) const
bool isUserContext() const
const std::vector< std::string > & getPaths() const
std::string resolve(std::string_view filename) const
This file implemented 3 utility functions:
const FileContext & systemFileContext()
FileContext configFileContext(string_view path, string_view hwDescr, string_view userName)
const FileContext & currentDirFileContext()
constexpr const char *const filename
FileContext userFileContext(string_view savePath)
FileContext userDataFileContext(string_view subDir)
const FileContext & preferSystemFileContext()