From 6b7b82c58ad0a52d38ed24ca8c932aaedbc14ae2 Mon Sep 17 00:00:00 2001 From: Alexander Karatarakis Date: Tue, 19 Jun 2018 16:46:19 -0700 Subject: [fetch] Refactor to allow getting the version along with the path --- toolsrc/include/vcpkg/commands.h | 1 + 1 file changed, 1 insertion(+) (limited to 'toolsrc/include') 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); } -- cgit v1.2.3