diff options
Diffstat (limited to 'src/core/file_sys/vfs.h')
| -rw-r--r-- | src/core/file_sys/vfs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/file_sys/vfs.h b/src/core/file_sys/vfs.h index cf871edd6..fab9e2b45 100644 --- a/src/core/file_sys/vfs.h +++ b/src/core/file_sys/vfs.h | |||
| @@ -245,6 +245,9 @@ struct ReadOnlyVfsDirectory : public VfsDirectory { | |||
| 245 | bool Rename(std::string_view name) override; | 245 | bool Rename(std::string_view name) override; |
| 246 | }; | 246 | }; |
| 247 | 247 | ||
| 248 | // Compare the two files, byte-for-byte, in increments specificed by block_size | ||
| 249 | bool DeepEquals(const VirtualFile& file1, const VirtualFile& file2, size_t block_size = 0x200); | ||
| 250 | |||
| 248 | // A method that copies the raw data between two different implementations of VirtualFile. If you | 251 | // A method that copies the raw data between two different implementations of VirtualFile. If you |
| 249 | // are using the same implementation, it is probably better to use the Copy method in the parent | 252 | // are using the same implementation, it is probably better to use the Copy method in the parent |
| 250 | // directory of src/dest. | 253 | // directory of src/dest. |