diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2016-12-16 19:40:58 -0800 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2016-12-16 19:40:58 -0800 |
| commit | aad0cc4c042aad87b2b52eded0e465ed01e799c1 (patch) | |
| tree | 1650d84c1cb415906fe9b2b60bd0ce4981c1095f /toolsrc/src/vcpkg_Files.cpp | |
| parent | b666e90c32e58a673331b303e64e299cc1168aa2 (diff) | |
| download | vcpkg-aad0cc4c042aad87b2b52eded0e465ed01e799c1.tar.gz vcpkg-aad0cc4c042aad87b2b52eded0e465ed01e799c1.zip | |
Files::get_contents() -> Files::read_contents()
Diffstat (limited to 'toolsrc/src/vcpkg_Files.cpp')
| -rw-r--r-- | toolsrc/src/vcpkg_Files.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolsrc/src/vcpkg_Files.cpp b/toolsrc/src/vcpkg_Files.cpp index 9e7002a37..48283e43f 100644 --- a/toolsrc/src/vcpkg_Files.cpp +++ b/toolsrc/src/vcpkg_Files.cpp @@ -17,7 +17,7 @@ namespace vcpkg {namespace Files return std::regex_search(s, FILESYSTEM_INVALID_CHARACTERS_REGEX); } - expected<std::string> get_contents(const fs::path& file_path) noexcept + expected<std::string> read_contents(const fs::path& file_path) noexcept { std::fstream file_stream(file_path, std::ios_base::in | std::ios_base::binary); if (file_stream.fail()) |
