aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include
diff options
context:
space:
mode:
Diffstat (limited to 'toolsrc/include')
-rw-r--r--toolsrc/include/vcpkg/portfileprovider.h3
-rw-r--r--toolsrc/include/vcpkg/vcpkgpaths.h1
2 files changed, 3 insertions, 1 deletions
diff --git a/toolsrc/include/vcpkg/portfileprovider.h b/toolsrc/include/vcpkg/portfileprovider.h
index 610ecb735..1ce934c9e 100644
--- a/toolsrc/include/vcpkg/portfileprovider.h
+++ b/toolsrc/include/vcpkg/portfileprovider.h
@@ -73,7 +73,8 @@ namespace vcpkg::PortFileProvider
struct BaselineProvider : IBaselineProvider, Util::ResourceBase
{
- explicit BaselineProvider(const vcpkg::VcpkgPaths& paths, const std::string& baseline);
+ explicit BaselineProvider(const vcpkg::VcpkgPaths& paths);
+ BaselineProvider(const vcpkg::VcpkgPaths& paths, const std::string& baseline);
~BaselineProvider();
Optional<VersionT> get_baseline_version(StringView port_name) const override;
diff --git a/toolsrc/include/vcpkg/vcpkgpaths.h b/toolsrc/include/vcpkg/vcpkgpaths.h
index c85eff0ca..257ecf7bb 100644
--- a/toolsrc/include/vcpkg/vcpkgpaths.h
+++ b/toolsrc/include/vcpkg/vcpkgpaths.h
@@ -118,6 +118,7 @@ namespace vcpkg
// Git manipulation
fs::path git_checkout_baseline(Files::Filesystem& filesystem, StringView commit_sha) const;
fs::path git_checkout_port(Files::Filesystem& filesystem, StringView port_name, StringView git_tree) const;
+ ExpectedS<std::string> git_show(const std::string& treeish, const fs::path& dot_git_dir) const;
Optional<const Json::Object&> get_manifest() const;
Optional<const fs::path&> get_manifest_path() const;