fix: copy needs to overwrite
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
This commit is contained in:
parent
400a2f7201
commit
cb7ff81ade
3 changed files with 13 additions and 4 deletions
|
@ -297,6 +297,9 @@ bool copy::operator()(const QString& offset, bool dryRun)
|
|||
if (!m_followSymlinks)
|
||||
opt |= copy_opts::copy_symlinks;
|
||||
|
||||
if (m_overwrite)
|
||||
opt |= copy_opts::overwrite_existing;
|
||||
|
||||
// Function that'll do the actual copying
|
||||
auto copy_file = [&](QString src_path, QString relative_dst_path) {
|
||||
if (m_matcher && (m_matcher->matches(relative_dst_path) != m_whitelist))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue