diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2016-11-30 14:08:43 -0800 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2016-11-30 14:08:43 -0800 |
| commit | ae379fedea589552ad7c98eb350c492ce830fb48 (patch) | |
| tree | 49bb06e56a8edff713c265c71aea01866d6e513e /toolsrc/src/vcpkg_Files.cpp | |
| parent | 5b6baf0ce065c1aa0e176ca2730226e0e6beae18 (diff) | |
| download | vcpkg-ae379fedea589552ad7c98eb350c492ce830fb48.tar.gz vcpkg-ae379fedea589552ad7c98eb350c492ce830fb48.zip | |
Move print_paths() to Files::
Diffstat (limited to 'toolsrc/src/vcpkg_Files.cpp')
| -rw-r--r-- | toolsrc/src/vcpkg_Files.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/toolsrc/src/vcpkg_Files.cpp b/toolsrc/src/vcpkg_Files.cpp index b86edb4ab..698579736 100644 --- a/toolsrc/src/vcpkg_Files.cpp +++ b/toolsrc/src/vcpkg_Files.cpp @@ -1,6 +1,7 @@ #include "vcpkg_Files.h" #include <fstream> #include <regex> +#include "vcpkg_System.h" namespace vcpkg {namespace Files { @@ -100,4 +101,14 @@ namespace vcpkg {namespace Files non_recursive_find_all_files_in_dir(dir, &v); return v; } + + void print_paths(const std::vector<fs::path>& paths) + { + System::println(""); + for (const fs::path& p : paths) + { + System::println(" %s", p.generic_string()); + } + System::println(""); + } }} |
