Cleanup copy functions (#1500)
Some checks failed
CodeQL / Analyze (push) Has been cancelled
mkdocs / deploy (push) Has been cancelled

This commit is contained in:
trapexit 2025-07-27 16:23:45 -05:00 • committed by GitHub
parent e8cd74cab0
commit 33fc26f81f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 164 additions and 151 deletions

View file

@ -229,7 +229,7 @@ _copy_files(const std::string &src_,
if(src_ == dst.path)
continue;
rv = fs::copyfile(src_,dst.path,FS_COPYFILE_NONE);
rv = fs::copyfile(src_,dst.path,{.cleanup_failure=false});
if(rv < 0)
fmt::print(stderr,
"ERROR: failed copying to {} - {}",