diff options
Diffstat (limited to 'toolsrc/include')
| -rw-r--r-- | toolsrc/include/vcpkg/base/files.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/toolsrc/include/vcpkg/base/files.h b/toolsrc/include/vcpkg/base/files.h index b05f79a05..a6cc06c19 100644 --- a/toolsrc/include/vcpkg/base/files.h +++ b/toolsrc/include/vcpkg/base/files.h @@ -184,6 +184,10 @@ namespace vcpkg::Files std::error_code& ec) = 0; void write_contents(const fs::path& path, const std::string& data, LineInfo linfo); virtual void write_contents(const fs::path& file_path, const std::string& data, std::error_code& ec) = 0; + void write_contents_and_dirs(const fs::path& path, const std::string& data, LineInfo linfo); + virtual void write_contents_and_dirs(const fs::path& file_path, + const std::string& data, + std::error_code& ec) = 0; void rename(const fs::path& oldpath, const fs::path& newpath, LineInfo linfo); virtual void rename(const fs::path& oldpath, const fs::path& newpath, std::error_code& ec) = 0; virtual void rename_or_copy(const fs::path& oldpath, |
