aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_portsdiff.cpp
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2017-04-08 16:26:26 -0700
committerRobert Schumacher <roschuma@microsoft.com>2017-04-08 16:26:26 -0700
commitc434dc99868989ca55aef5e445ac6a0a4c3430f7 (patch)
treeacfe66565a39a364b541013671ae786f2b5f7de4 /toolsrc/src/commands_portsdiff.cpp
parent19123677d111143dcbe0b168f4af90771be302cb (diff)
downloadvcpkg-c434dc99868989ca55aef5e445ac6a0a4c3430f7.tar.gz
vcpkg-c434dc99868989ca55aef5e445ac6a0a4c3430f7.zip
[vcpkg] Initial addition of Filesystem abstraction to enable testing.
Diffstat (limited to 'toolsrc/src/commands_portsdiff.cpp')
-rw-r--r--toolsrc/src/commands_portsdiff.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolsrc/src/commands_portsdiff.cpp b/toolsrc/src/commands_portsdiff.cpp
index f4b828ecd..2f8d37eb3 100644
--- a/toolsrc/src/commands_portsdiff.cpp
+++ b/toolsrc/src/commands_portsdiff.cpp
@@ -85,7 +85,7 @@ namespace vcpkg::Commands::PortsDiff
L".vcpkg-root",
git_exe.native());
System::cmd_execute_clean(cmd);
- const std::vector<SourceParagraph> source_paragraphs = Paragraphs::load_all_ports(temp_checkout_path / ports_dir_name_as_string);
+ const std::vector<SourceParagraph> source_paragraphs = Paragraphs::load_all_ports(paths.get_filesystem(), temp_checkout_path / ports_dir_name_as_string);
const std::map<std::string, VersionT> names_and_versions = Paragraphs::extract_port_names_and_versions(source_paragraphs);
fs::remove_all(temp_checkout_path);
return names_and_versions;