aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2016-12-01 15:36:39 -0800
committerAlexander Karatarakis <alkarata@microsoft.com>2016-12-01 15:36:39 -0800
commit7c2abc755f58beaea36aa1cbc1c3b7f375e567a3 (patch)
tree246687795f6d11f0ba1c4f856e1a4cff3a295eff /toolsrc/include
parent79399923b6cd98b9e77020615e433ef0560d5dc2 (diff)
downloadvcpkg-7c2abc755f58beaea36aa1cbc1c3b7f375e567a3.tar.gz
vcpkg-7c2abc755f58beaea36aa1cbc1c3b7f375e567a3.zip
Introduce function get_installed_files()
Diffstat (limited to 'toolsrc/include')
-rw-r--r--toolsrc/include/vcpkg.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/toolsrc/include/vcpkg.h b/toolsrc/include/vcpkg.h
index ef78e213e..75dc40b43 100644
--- a/toolsrc/include/vcpkg.h
+++ b/toolsrc/include/vcpkg.h
@@ -11,6 +11,14 @@ namespace vcpkg
void write_update(const vcpkg_paths& paths, const StatusParagraph& p);
+ struct StatusParagraph_and_associated_files
+ {
+ StatusParagraph pgh;
+ std::vector<std::string> files;
+ };
+
+ std::vector<StatusParagraph_and_associated_files> get_installed_files(const vcpkg_paths& paths, const StatusParagraphs& status_db);
+
expected<SourceParagraph> try_load_port(const fs::path& control_path);
inline expected<SourceParagraph> try_load_port(const vcpkg_paths& paths, const std::string& name)