aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/VcpkgPaths.cpp
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-04-12 23:15:02 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2017-04-12 23:15:02 -0700
commitbd01f8ce83a0f4fc1963471623971d55d7460972 (patch)
tree81f1678e10dc474efae6dc1bec1777d77d0f2867 /toolsrc/src/VcpkgPaths.cpp
parent1b21fd0f71e5dd428c5f80396aa50ec7e0a9ee00 (diff)
downloadvcpkg-bd01f8ce83a0f4fc1963471623971d55d7460972.tar.gz
vcpkg-bd01f8ce83a0f4fc1963471623971d55d7460972.zip
get_files_recursive()/get_files_non_recursive()
Diffstat (limited to 'toolsrc/src/VcpkgPaths.cpp')
-rw-r--r--toolsrc/src/VcpkgPaths.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolsrc/src/VcpkgPaths.cpp b/toolsrc/src/VcpkgPaths.cpp
index 49f50f270..5f80fb3b0 100644
--- a/toolsrc/src/VcpkgPaths.cpp
+++ b/toolsrc/src/VcpkgPaths.cpp
@@ -214,7 +214,7 @@ namespace vcpkg
bool VcpkgPaths::is_valid_triplet(const Triplet& t) const
{
- for (auto&& path : get_filesystem().non_recursive_find_all_files_in_dir(this->triplets))
+ for (auto&& path : get_filesystem().get_files_non_recursive(this->triplets))
{
std::string triplet_file_name = path.stem().generic_u8string();
if (t.canonical_name() == triplet_file_name) // TODO: fuzzy compare
@@ -283,7 +283,7 @@ namespace vcpkg
// Locate the "best" MSVC toolchain version
const fs::path msvc_path = vc_dir / "Tools" / "MSVC";
- std::vector<fs::path> msvc_subdirectories = paths.get_filesystem().non_recursive_find_all_files_in_dir(msvc_path);
+ std::vector<fs::path> msvc_subdirectories = fs.get_files_non_recursive(msvc_path);
Util::unstable_keep_if(msvc_subdirectories, [&fs](const fs::path& path) {
return fs.is_directory(path);
});