diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-04-12 23:15:02 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-04-12 23:15:02 -0700 |
| commit | bd01f8ce83a0f4fc1963471623971d55d7460972 (patch) | |
| tree | 81f1678e10dc474efae6dc1bec1777d77d0f2867 /toolsrc/src/commands_install.cpp | |
| parent | 1b21fd0f71e5dd428c5f80396aa50ec7e0a9ee00 (diff) | |
| download | vcpkg-bd01f8ce83a0f4fc1963471623971d55d7460972.tar.gz vcpkg-bd01f8ce83a0f4fc1963471623971d55d7460972.zip | |
get_files_recursive()/get_files_non_recursive()
Diffstat (limited to 'toolsrc/src/commands_install.cpp')
| -rw-r--r-- | toolsrc/src/commands_install.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toolsrc/src/commands_install.cpp b/toolsrc/src/commands_install.cpp index 32460b807..ce3cbc942 100644 --- a/toolsrc/src/commands_install.cpp +++ b/toolsrc/src/commands_install.cpp @@ -30,7 +30,7 @@ namespace vcpkg::Commands::Install fs.create_directory(installed_subfolder_path, ec); output.push_back(Strings::format(R"(%s/)", triplet_string)); - auto files = fs.recursive_find_all_files_in_dir(package_prefix_path); + auto files = fs.get_files_recursive(package_prefix_path); for (auto&& file : files) { auto status = fs.status(file, ec); @@ -119,7 +119,7 @@ namespace vcpkg::Commands::Install static SortedVector<std::string> build_list_of_package_files(const Files::Filesystem& fs, const fs::path& package_dir) { - const std::vector<fs::path> package_file_paths = fs.recursive_find_all_files_in_dir(package_dir); + const std::vector<fs::path> package_file_paths = fs.get_files_recursive(package_dir); const size_t package_remove_char_count = package_dir.generic_string().size() + 1; // +1 for the slash auto package_files = Util::fmap(package_file_paths, [package_remove_char_count](const fs::path& path) { |
