aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2018-04-05 22:05:55 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2018-04-06 17:26:58 -0700
commit1bfb01cfeeffc8c8161f64b1bd2986557b6ba207 (patch)
tree2d68e5c87fb780da4716fd3d71570c614794941d /toolsrc/include
parentec790eb1716fca367dccc2b5f7e96a8719ca74fa (diff)
downloadvcpkg-1bfb01cfeeffc8c8161f64b1bd2986557b6ba207.tar.gz
vcpkg-1bfb01cfeeffc8c8161f64b1bd2986557b6ba207.zip
[vcpkg hash] Add sanity checking
Diffstat (limited to 'toolsrc/include')
-rw-r--r--toolsrc/include/vcpkg/commands.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolsrc/include/vcpkg/commands.h b/toolsrc/include/vcpkg/commands.h
index d8d2abfa9..6d29b7960 100644
--- a/toolsrc/include/vcpkg/commands.h
+++ b/toolsrc/include/vcpkg/commands.h
@@ -132,9 +132,9 @@ namespace vcpkg::Commands
namespace Hash
{
std::string get_string_hash(const std::string& s, const std::string& hash_type);
- std::string get_file_hash(const fs::path& path, const std::string& hash_type);
+ std::string get_file_hash(const VcpkgPaths& paths, const fs::path& path, const std::string& hash_type);
- void perform_and_exit(const VcpkgCmdArguments& args);
+ void perform_and_exit(const VcpkgCmdArguments& args, const VcpkgPaths& paths);
}
namespace Fetch