diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2018-06-19 16:46:19 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2018-06-19 23:07:31 -0700 |
| commit | 6b7b82c58ad0a52d38ed24ca8c932aaedbc14ae2 (patch) | |
| tree | 99989aa9c38a07cfd4cdc0e435d4f064abcb7988 /toolsrc/include | |
| parent | 31374871f2011b419a0aed09ad16201037230b15 (diff) | |
| download | vcpkg-6b7b82c58ad0a52d38ed24ca8c932aaedbc14ae2.tar.gz vcpkg-6b7b82c58ad0a52d38ed24ca8c932aaedbc14ae2.zip | |
[fetch] Refactor to allow getting the version along with the path
Diffstat (limited to 'toolsrc/include')
| -rw-r--r-- | toolsrc/include/vcpkg/commands.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/toolsrc/include/vcpkg/commands.h b/toolsrc/include/vcpkg/commands.h index e4ea44334..c6310c340 100644 --- a/toolsrc/include/vcpkg/commands.h +++ b/toolsrc/include/vcpkg/commands.h @@ -140,6 +140,7 @@ namespace vcpkg::Commands namespace Fetch { fs::path get_tool_path(const VcpkgPaths& paths, const std::string& tool); + std::string get_tool_version(const VcpkgPaths& paths, const std::string& tool); void perform_and_exit(const VcpkgCmdArguments& args, const VcpkgPaths& paths); } |
