diff options
Diffstat (limited to 'base/file_util.h')
-rw-r--r-- | base/file_util.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/base/file_util.h b/base/file_util.h index 70e24e1..43c31f5 100644 --- a/base/file_util.h +++ b/base/file_util.h @@ -154,7 +154,9 @@ bool Delete(const FilePath& path, bool recursive); bool Delete(const std::wstring& path, bool recursive); // Moves the given path, whether it's a file or a directory. -// Returns true if successful, false otherwise. +// If a simple rename is not possible, such as in the case where the paths are +// on different volumes, this will attempt to copy and delete. Returns +// true for success. bool Move(const FilePath& from_path, const FilePath& to_path); // Deprecated temporary compatibility function. bool Move(const std::wstring& from_path, const std::wstring& to_path); |