MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / getConfigPaths

Function getConfigPaths

src/gui2/imhex_overrides/default_paths.cpp:90–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88 }
89
90 std::vector<std::fs::path> getConfigPaths(bool includeSystemFolders)
91 {
92#if defined(OS_WINDOWS)
93 return getDataPaths(includeSystemFolders);
94#elif defined(OS_MACOS)
95 return getDataPaths(includeSystemFolders);
96#elif defined(OS_LINUX) || defined(OS_WEB)
97 std::ignore = includeSystemFolders;
98 return {xdg::ConfigHomeDir() / ApplicationName};
99#endif
100 }
101
102 static std::vector<std::fs::path> appendPath(
103 std::vector<std::fs::path> paths, std::fs::path folder)

Callers 1

allMethod · 0.85

Calls 1

getDataPathsFunction · 0.85

Tested by

no test coverage detected