[InstallationDirs] Better name for static factory
MODIFY
include/vcpkg_Commands.h
include/vcpkg_Commands.h
@@ -45,7 +45,7 @@ namespace vcpkg::Commands
{
struct InstallationDirs
{
- static InstallationDirs initiliaze(const fs::path& source_dir,
+ static InstallationDirs from_destination_root(const fs::path& source_dir,
const fs::path& destination_root,
const std::string& destination_subdirectory,
const fs::path& listfile);

MODIFY
src/commands_install.cpp
src/commands_install.cpp
@@ -15,7 +15,7 @@ namespace vcpkg::Commands::Install
using Dependencies::RequestType;
using Dependencies::InstallPlanType;
- InstallationDirs InstallationDirs::initiliaze(const fs::path& source_dir,
+ InstallationDirs InstallationDirs::from_destination_root(const fs::path& source_dir,
const fs::path& destination_root,
const std::string& destination_subdirectory,
const fs::path& listfile)
@@ -256,7 +256,7 @@ namespace vcpkg::Commands::Install
write_update(paths, source_paragraph);
status_db->insert(std::make_unique<StatusParagraph>(source_paragraph));
- const InstallationDirs dirs = InstallationDirs::initiliaze(package_dir,
+ const InstallationDirs dirs = InstallationDirs::from_destination_root(package_dir,
paths.installed,
triplet.to_string(),
paths.listfile_path(binary_paragraph));

[InstallationDirs] Better name for static factory