diff options
Diffstat (limited to 'toolsrc/include')
| -rw-r--r-- | toolsrc/include/vcpkg/base/system.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/toolsrc/include/vcpkg/base/system.h b/toolsrc/include/vcpkg/base/system.h index f119dbdc4..0a2e745c4 100644 --- a/toolsrc/include/vcpkg/base/system.h +++ b/toolsrc/include/vcpkg/base/system.h @@ -9,7 +9,13 @@ namespace vcpkg::System { Optional<std::string> get_environment_variable(ZStringView varname) noexcept; - ExpectedS<std::string> get_home_dir() noexcept; + const ExpectedS<fs::path>& get_home_dir() noexcept; + + const ExpectedS<fs::path>& get_platform_cache_home() noexcept; + +#ifdef _WIN32 + const ExpectedS<fs::path>& get_appdata_local() noexcept; +#endif Optional<std::string> get_registry_string(void* base_hkey, StringView subkey, StringView valuename); |
