aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src
diff options
context:
space:
mode:
Diffstat (limited to 'toolsrc/src')
-rw-r--r--toolsrc/src/commands_remove.cpp2
-rw-r--r--toolsrc/src/vcpkg_Files.cpp2
-rw-r--r--toolsrc/src/vcpkglib.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/toolsrc/src/commands_remove.cpp b/toolsrc/src/commands_remove.cpp
index a61435b5d..e6f111d41 100644
--- a/toolsrc/src/commands_remove.cpp
+++ b/toolsrc/src/commands_remove.cpp
@@ -36,7 +36,7 @@ namespace vcpkg::Commands::Remove
pkg.state = InstallState::HALF_INSTALLED;
write_update(paths, pkg);
- auto maybe_lines = fs.read_all_lines(paths.listfile_path(pkg.package));
+ auto maybe_lines = fs.read_lines(paths.listfile_path(pkg.package));
if (auto lines = maybe_lines.get())
{
diff --git a/toolsrc/src/vcpkg_Files.cpp b/toolsrc/src/vcpkg_Files.cpp
index f4fb1bb61..ba7bcc222 100644
--- a/toolsrc/src/vcpkg_Files.cpp
+++ b/toolsrc/src/vcpkg_Files.cpp
@@ -32,7 +32,7 @@ namespace vcpkg::Files
return std::move(output);
}
- virtual Expected<std::vector<std::string>> read_all_lines(const fs::path& file_path) const override
+ virtual Expected<std::vector<std::string>> read_lines(const fs::path& file_path) const override
{
std::fstream file_stream(file_path, std::ios_base::in | std::ios_base::binary);
if (file_stream.fail())
diff --git a/toolsrc/src/vcpkglib.cpp b/toolsrc/src/vcpkglib.cpp
index 6cfc741e1..f70f9ace1 100644
--- a/toolsrc/src/vcpkglib.cpp
+++ b/toolsrc/src/vcpkglib.cpp
@@ -196,7 +196,7 @@ namespace vcpkg
}
const fs::path listfile_path = paths.listfile_path(pgh->package);
- std::vector<std::string> installed_files_of_current_pgh = fs.read_all_lines(listfile_path).value_or_exit(VCPKG_LINE_INFO);
+ std::vector<std::string> installed_files_of_current_pgh = fs.read_lines(listfile_path).value_or_exit(VCPKG_LINE_INFO);
Strings::trim_all_and_remove_whitespace_strings(&installed_files_of_current_pgh);
upgrade_to_slash_terminated_sorted_format(fs, &installed_files_of_current_pgh, listfile_path);