Home | History | Annotate | Download | only in files

Lines Matching refs:to_path

86 BASE_EXPORT bool Move(const FilePath& from_path, const FilePath& to_path);
88 // Renames file |from_path| to |to_path|. Both paths must be on the same
95 const FilePath& to_path,
100 // This function also fails if |to_path| is a directory.
102 // On POSIX, if |to_path| is a symlink, CopyFile() will follow the symlink. This
105 // If |to_path| already exists and is a regular file, it will be overwritten,
108 // If |to_path| does not exist, it will be created. The new file's permissions
112 // - On Mac and iOS, |to_path| retains |from_path|'s permissions, except user
114 // - On Linux and Android, |to_path| has user read/write permissions only. i.e.
116 // - On ChromeOS, |to_path| has user read/write permissions and group/others
118 BASE_EXPORT bool CopyFile(const FilePath& from_path, const FilePath& to_path);
123 // If there are files existing under to_path, always overwrite. Returns true
130 const FilePath& to_path,
136 const FilePath& to_path,
484 const FilePath& to_path);
487 // Copy from_path to to_path recursively and then delete from_path recursively.
492 const FilePath& to_path);