From 9b5275bb85fe5d55e8287bddb71b71bfac0e82c1 Mon Sep 17 00:00:00 2001 From: Alexander Karatarakis Date: Mon, 17 Apr 2017 17:13:51 -0700 Subject: Make install_and_write_listfile() public (also rename it) --- toolsrc/include/vcpkg_Commands.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'toolsrc/include') diff --git a/toolsrc/include/vcpkg_Commands.h b/toolsrc/include/vcpkg_Commands.h index bb25812ac..21c82cea2 100644 --- a/toolsrc/include/vcpkg_Commands.h +++ b/toolsrc/include/vcpkg_Commands.h @@ -43,6 +43,15 @@ namespace vcpkg::Commands namespace Install { + struct InstallationDirs + { + fs::path source_dir; // "source" from source-destination, not source code. + fs::path destination_root; + std::string destination_subdirectory; + fs::path listfile; + }; + + void install_files_and_write_listfile(Files::Filesystem& fs, const InstallationDirs& dirs); void install_package(const VcpkgPaths& paths, const BinaryParagraph& binary_paragraph, StatusParagraphs* status_db); void perform_and_exit(const VcpkgCmdArguments& args, const VcpkgPaths& paths, const Triplet& default_triplet); } -- cgit v1.2.3