diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-04-03 16:29:11 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-04-04 16:44:46 -0700 |
| commit | 3f76b9e53d48e34960bb5947bbbb880ac806281b (patch) | |
| tree | e9ecddfe9b170f105e3ba58e7137f8ffa845fc13 /toolsrc/include | |
| parent | 402552ef934d30c923e633daadc59ff853115df2 (diff) | |
| download | vcpkg-3f76b9e53d48e34960bb5947bbbb880ac806281b.tar.gz vcpkg-3f76b9e53d48e34960bb5947bbbb880ac806281b.zip | |
vcpkg_paths -> VcpkgPaths
Diffstat (limited to 'toolsrc/include')
| -rw-r--r-- | toolsrc/include/Paragraphs.h | 4 | ||||
| -rw-r--r-- | toolsrc/include/PostBuildLint.h | 4 | ||||
| -rw-r--r-- | toolsrc/include/VcpkgPaths.h (renamed from toolsrc/include/vcpkg_paths.h) | 4 | ||||
| -rw-r--r-- | toolsrc/include/vcpkg_Commands.h | 50 | ||||
| -rw-r--r-- | toolsrc/include/vcpkg_Dependencies.h | 4 | ||||
| -rw-r--r-- | toolsrc/include/vcpkg_Input.h | 4 | ||||
| -rw-r--r-- | toolsrc/include/vcpkglib.h | 8 |
7 files changed, 39 insertions, 39 deletions
diff --git a/toolsrc/include/Paragraphs.h b/toolsrc/include/Paragraphs.h index f466741c4..610ebbad6 100644 --- a/toolsrc/include/Paragraphs.h +++ b/toolsrc/include/Paragraphs.h @@ -4,7 +4,7 @@ #include <map> #include "vcpkg_expected.h" #include "BinaryParagraph.h" -#include "vcpkg_paths.h" +#include "VcpkgPaths.h" #include "VersionT.h" namespace vcpkg::Paragraphs @@ -18,7 +18,7 @@ namespace vcpkg::Paragraphs Expected<SourceParagraph> try_load_port(const fs::path& control_path); - Expected<BinaryParagraph> try_load_cached_package(const vcpkg_paths& paths, const PackageSpec& spec); + Expected<BinaryParagraph> try_load_cached_package(const VcpkgPaths& paths, const PackageSpec& spec); std::vector<SourceParagraph> load_all_ports(const fs::path& ports_dir); diff --git a/toolsrc/include/PostBuildLint.h b/toolsrc/include/PostBuildLint.h index 1f96b02f1..b8afdd5a6 100644 --- a/toolsrc/include/PostBuildLint.h +++ b/toolsrc/include/PostBuildLint.h @@ -1,8 +1,8 @@ #pragma once #include "PackageSpec.h" -#include "vcpkg_paths.h" +#include "VcpkgPaths.h" namespace vcpkg::PostBuildLint { - size_t perform_all_checks(const PackageSpec& spec, const vcpkg_paths& paths); + size_t perform_all_checks(const PackageSpec& spec, const VcpkgPaths& paths); } diff --git a/toolsrc/include/vcpkg_paths.h b/toolsrc/include/VcpkgPaths.h index bc966ac6d..880b33b98 100644 --- a/toolsrc/include/vcpkg_paths.h +++ b/toolsrc/include/VcpkgPaths.h @@ -14,9 +14,9 @@ namespace vcpkg CWStringView version; }; - struct vcpkg_paths + struct VcpkgPaths { - static Expected<vcpkg_paths> create(const fs::path& vcpkg_root_dir); + static Expected<VcpkgPaths> create(const fs::path& vcpkg_root_dir); fs::path package_dir(const PackageSpec& spec) const; fs::path port_dir(const PackageSpec& spec) const; diff --git a/toolsrc/include/vcpkg_Commands.h b/toolsrc/include/vcpkg_Commands.h index 6adfb5656..227c44379 100644 --- a/toolsrc/include/vcpkg_Commands.h +++ b/toolsrc/include/vcpkg_Commands.h @@ -1,15 +1,15 @@ #pragma once #include "VcpkgCmdArguments.h" -#include "vcpkg_paths.h" +#include "VcpkgPaths.h" #include "StatusParagraphs.h" #include <array> #include "VersionT.h" namespace vcpkg::Commands { - using CommandTypeA = void(*)(const VcpkgCmdArguments& args, const vcpkg_paths& paths, const Triplet& default_target_triplet); - using CommandTypeB = void(*)(const VcpkgCmdArguments& args, const vcpkg_paths& paths); + using CommandTypeA = void(*)(const VcpkgCmdArguments& args, const VcpkgPaths& paths, const Triplet& default_target_triplet); + using CommandTypeB = void(*)(const VcpkgCmdArguments& args, const VcpkgPaths& paths); using CommandTypeC = void(*)(const VcpkgCmdArguments& args); namespace Build @@ -31,30 +31,30 @@ namespace vcpkg::Commands std::wstring make_build_env_cmd(const Triplet& target_triplet, const Toolset& toolset); - BuildResult build_package(const SourceParagraph& source_paragraph, const PackageSpec& spec, const vcpkg_paths& paths, const fs::path& port_dir, const StatusParagraphs& status_db); - void perform_and_exit(const PackageSpec& spec, const fs::path& port_dir, const std::unordered_set<std::string>& options, const vcpkg_paths& paths); - void perform_and_exit(const VcpkgCmdArguments& args, const vcpkg_paths& paths, const Triplet& default_target_triplet); + BuildResult build_package(const SourceParagraph& source_paragraph, const PackageSpec& spec, const VcpkgPaths& paths, const fs::path& port_dir, const StatusParagraphs& status_db); + void perform_and_exit(const PackageSpec& spec, const fs::path& port_dir, const std::unordered_set<std::string>& options, const VcpkgPaths& paths); + void perform_and_exit(const VcpkgCmdArguments& args, const VcpkgPaths& paths, const Triplet& default_target_triplet); } namespace BuildExternal { - void perform_and_exit(const VcpkgCmdArguments& args, const vcpkg_paths& paths, const Triplet& default_target_triplet); + void perform_and_exit(const VcpkgCmdArguments& args, const VcpkgPaths& paths, const Triplet& default_target_triplet); } namespace Install { - void install_package(const vcpkg_paths& paths, const BinaryParagraph& binary_paragraph, StatusParagraphs* status_db); - void perform_and_exit(const VcpkgCmdArguments& args, const vcpkg_paths& paths, const Triplet& default_target_triplet); + 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_target_triplet); } namespace CI { - void perform_and_exit(const VcpkgCmdArguments& args, const vcpkg_paths& paths, const Triplet& default_target_triplet); + void perform_and_exit(const VcpkgCmdArguments& args, const VcpkgPaths& paths, const Triplet& default_target_triplet); } namespace Remove { - void perform_and_exit(const VcpkgCmdArguments& args, const vcpkg_paths& paths, const Triplet& default_target_triplet); + void perform_and_exit(const VcpkgCmdArguments& args, const VcpkgPaths& paths, const Triplet& default_target_triplet); } namespace Update @@ -67,67 +67,67 @@ namespace vcpkg::Commands VersionDiff version_diff; }; - std::vector<OutdatedPackage> find_outdated_packages(const vcpkg_paths& paths, const StatusParagraphs& status_db); - void perform_and_exit(const VcpkgCmdArguments& args, const vcpkg_paths& paths); + std::vector<OutdatedPackage> find_outdated_packages(const VcpkgPaths& paths, const StatusParagraphs& status_db); + void perform_and_exit(const VcpkgCmdArguments& args, const VcpkgPaths& paths); } namespace Env { - void perform_and_exit(const VcpkgCmdArguments& args, const vcpkg_paths& paths, const Triplet& default_triplet); + void perform_and_exit(const VcpkgCmdArguments& args, const VcpkgPaths& paths, const Triplet& default_triplet); } namespace Create { - void perform_and_exit(const VcpkgCmdArguments& args, const vcpkg_paths& paths); + void perform_and_exit(const VcpkgCmdArguments& args, const VcpkgPaths& paths); } namespace Edit { - void perform_and_exit(const VcpkgCmdArguments& args, const vcpkg_paths& paths); + void perform_and_exit(const VcpkgCmdArguments& args, const VcpkgPaths& paths); } namespace Search { - void perform_and_exit(const VcpkgCmdArguments& args, const vcpkg_paths& paths); + void perform_and_exit(const VcpkgCmdArguments& args, const VcpkgPaths& paths); } namespace List { - void perform_and_exit(const VcpkgCmdArguments& args, const vcpkg_paths& paths); + void perform_and_exit(const VcpkgCmdArguments& args, const VcpkgPaths& paths); } namespace Owns { - void perform_and_exit(const VcpkgCmdArguments& args, const vcpkg_paths& paths); + void perform_and_exit(const VcpkgCmdArguments& args, const VcpkgPaths& paths); } namespace Cache { - void perform_and_exit(const VcpkgCmdArguments& args, const vcpkg_paths& paths); + void perform_and_exit(const VcpkgCmdArguments& args, const VcpkgPaths& paths); } namespace Import { - void perform_and_exit(const VcpkgCmdArguments& args, const vcpkg_paths& paths); + void perform_and_exit(const VcpkgCmdArguments& args, const VcpkgPaths& paths); } namespace Integrate { extern const char*const INTEGRATE_COMMAND_HELPSTRING; - void perform_and_exit(const VcpkgCmdArguments& args, const vcpkg_paths& paths); + void perform_and_exit(const VcpkgCmdArguments& args, const VcpkgPaths& paths); } namespace PortsDiff { - void perform_and_exit(const VcpkgCmdArguments& args, const vcpkg_paths& paths); + void perform_and_exit(const VcpkgCmdArguments& args, const VcpkgPaths& paths); } namespace Help { - void perform_and_exit(const VcpkgCmdArguments& args, const vcpkg_paths& paths); + void perform_and_exit(const VcpkgCmdArguments& args, const VcpkgPaths& paths); - void help_topic_valid_triplet(const vcpkg_paths& paths); + void help_topic_valid_triplet(const VcpkgPaths& paths); void print_usage(); diff --git a/toolsrc/include/vcpkg_Dependencies.h b/toolsrc/include/vcpkg_Dependencies.h index f04c41574..289df88dd 100644 --- a/toolsrc/include/vcpkg_Dependencies.h +++ b/toolsrc/include/vcpkg_Dependencies.h @@ -2,7 +2,7 @@ #include <vector> #include "PackageSpec.h" #include "StatusParagraphs.h" -#include "vcpkg_paths.h" +#include "VcpkgPaths.h" #include "vcpkg_optional.h" namespace vcpkg::Dependencies @@ -73,7 +73,7 @@ namespace vcpkg::Dependencies RemovePlanAction plan; }; - std::vector<PackageSpecWithInstallPlan> create_install_plan(const vcpkg_paths& paths, const std::vector<PackageSpec>& specs, const StatusParagraphs& status_db); + std::vector<PackageSpecWithInstallPlan> create_install_plan(const VcpkgPaths& paths, const std::vector<PackageSpec>& specs, const StatusParagraphs& status_db); std::vector<PackageSpecWithRemovePlan> create_remove_plan(const std::vector<PackageSpec>& specs, const StatusParagraphs& status_db); } diff --git a/toolsrc/include/vcpkg_Input.h b/toolsrc/include/vcpkg_Input.h index 5e1d1f0fa..fd549f278 100644 --- a/toolsrc/include/vcpkg_Input.h +++ b/toolsrc/include/vcpkg_Input.h @@ -1,7 +1,7 @@ #pragma once #include <vector> #include "PackageSpec.h" -#include "vcpkg_paths.h" +#include "VcpkgPaths.h" namespace vcpkg::Input { @@ -10,5 +10,5 @@ namespace vcpkg::Input const Triplet& default_target_triplet, CStringView example_text); - void check_triplet(const Triplet& t, const vcpkg_paths& paths); + void check_triplet(const Triplet& t, const VcpkgPaths& paths); } diff --git a/toolsrc/include/vcpkglib.h b/toolsrc/include/vcpkglib.h index 6acfb6227..f4803ceaa 100644 --- a/toolsrc/include/vcpkglib.h +++ b/toolsrc/include/vcpkglib.h @@ -1,16 +1,16 @@ #pragma once #include "StatusParagraphs.h" -#include "vcpkg_paths.h" +#include "VcpkgPaths.h" #include "SortedVector.h" namespace vcpkg { extern bool g_debugging; - StatusParagraphs database_load_check(const vcpkg_paths& paths); + StatusParagraphs database_load_check(const VcpkgPaths& paths); - void write_update(const vcpkg_paths& paths, const StatusParagraph& p); + void write_update(const VcpkgPaths& paths, const StatusParagraph& p); struct StatusParagraph_and_associated_files { @@ -19,7 +19,7 @@ namespace vcpkg }; std::vector<StatusParagraph*> get_installed_ports(const StatusParagraphs& status_db); - std::vector<StatusParagraph_and_associated_files> get_installed_files(const vcpkg_paths& paths, const StatusParagraphs& status_db); + std::vector<StatusParagraph_and_associated_files> get_installed_files(const VcpkgPaths& paths, const StatusParagraphs& status_db); struct CMakeVariable |
