aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-04-17 17:44:15 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2017-04-17 19:04:00 -0700
commitc8ff4e39ba313b7ad6d3daa0d604e5f648a04d71 (patch)
tree365820193aa61afa90f8bd82b15f3d157942d349 /toolsrc/include
parent9b5275bb85fe5d55e8287bddb71b71bfac0e82c1 (diff)
downloadvcpkg-c8ff4e39ba313b7ad6d3daa0d604e5f648a04d71.tar.gz
vcpkg-c8ff4e39ba313b7ad6d3daa0d604e5f648a04d71.zip
Add fs::create_directories() forwarding function
Diffstat (limited to 'toolsrc/include')
-rw-r--r--toolsrc/include/vcpkg_Files.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/toolsrc/include/vcpkg_Files.h b/toolsrc/include/vcpkg_Files.h
index 3fbaad363..e88bca7b6 100644
--- a/toolsrc/include/vcpkg_Files.h
+++ b/toolsrc/include/vcpkg_Files.h
@@ -24,6 +24,7 @@ namespace vcpkg::Files
virtual bool is_regular_file(const fs::path& path) const = 0;
virtual bool is_empty(const fs::path& path) const = 0;
virtual bool create_directory(const fs::path& path, std::error_code& ec) = 0;
+ virtual bool create_directories(const fs::path& path, std::error_code& ec) = 0;
virtual void copy(const fs::path& oldpath, const fs::path& newpath, fs::copy_options opts) = 0;
virtual bool copy_file(const fs::path& oldpath, const fs::path& newpath, fs::copy_options opts, std::error_code& ec) = 0;
virtual fs::file_status status(const fs::path& path, std::error_code& ec) const = 0;