From bd01f8ce83a0f4fc1963471623971d55d7460972 Mon Sep 17 00:00:00 2001 From: Alexander Karatarakis Date: Wed, 12 Apr 2017 23:15:02 -0700 Subject: get_files_recursive()/get_files_non_recursive() --- toolsrc/src/commands_install.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'toolsrc/src/commands_install.cpp') 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 build_list_of_package_files(const Files::Filesystem& fs, const fs::path& package_dir) { - const std::vector package_file_paths = fs.recursive_find_all_files_in_dir(package_dir); + const std::vector 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) { -- cgit v1.2.3