13
0

Overwrite target file in PBD::copy_file

git-svn-id: svn://localhost/ardour2/branches/3.0@12854 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Tim Mayberry 2012-06-23 05:07:52 +00:00
parent a22dd8c20a
commit e66e9854d7
2 changed files with 2 additions and 2 deletions

View File

@ -139,7 +139,7 @@ copy_file(const std::string & from_path, const std::string & to_path)
try
{
from_file->copy (to_file);
from_file->copy (to_file, Gio::FILE_COPY_OVERWRITE);
}
catch(const Glib::Exception& ex)
{

View File

@ -93,7 +93,7 @@ find_file_in_search_path (const SearchPath& search_path,
/**
* Attempt to copy the contents of the file from_path to a new file
* at path to_path.
* at path to_path. If to_path exists it is overwritten.
*
* @return true if file was successfully copied
*/