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:
parent
a22dd8c20a
commit
e66e9854d7
@ -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)
|
||||
{
|
||||
|
@ -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
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user