summaryrefslogtreecommitdiffstats
path: root/base/file_util_posix.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/file_util_posix.cc')
-rw-r--r--base/file_util_posix.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/base/file_util_posix.cc b/base/file_util_posix.cc
index 5d44ca3..96c1c17 100644
--- a/base/file_util_posix.cc
+++ b/base/file_util_posix.cc
@@ -168,10 +168,6 @@ bool Move(const FilePath& from_path, const FilePath& to_path) {
return true;
}
-bool ReplaceFile(const FilePath& from_path, const FilePath& to_path) {
- return (rename(from_path.value().c_str(), to_path.value().c_str()) == 0);
-}
-
bool CopyDirectory(const FilePath& from_path,
const FilePath& to_path,
bool recursive) {