diff options
Diffstat (limited to 'toolsrc/include')
| -rw-r--r-- | toolsrc/include/vcpkg/base/files.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/toolsrc/include/vcpkg/base/files.h b/toolsrc/include/vcpkg/base/files.h index 49a473091..dce9584fa 100644 --- a/toolsrc/include/vcpkg/base/files.h +++ b/toolsrc/include/vcpkg/base/files.h @@ -64,10 +64,7 @@ namespace fs using type = intptr_t; // HANDLE type system_handle = -1; - bool is_valid() const - { - return system_handle != -1; - } + bool is_valid() const { return system_handle != -1; } }; #else @@ -87,10 +84,7 @@ namespace fs using type = int; // file descriptor type system_handle = -1; - bool is_valid() const - { - return system_handle != -1; - } + bool is_valid() const { return system_handle != -1; } }; #endif @@ -176,6 +170,7 @@ namespace vcpkg::Files const fs::path& newpath, fs::copy_options opts, std::error_code& ec) = 0; + void copy_file(const fs::path& oldpath, const fs::path& newpath, fs::copy_options opts, LineInfo li); virtual void copy_symlink(const fs::path& oldpath, const fs::path& newpath, std::error_code& ec) = 0; virtual fs::file_status status(const fs::path& path, std::error_code& ec) const = 0; virtual fs::file_status symlink_status(const fs::path& path, std::error_code& ec) const = 0; |
