removed is_processing check
All checks were successful
BlockStorage/repertory/pipeline/head This commit looks good

This commit is contained in:
Scott E. Graves 2024-09-25 18:47:36 -05:00
parent ad97741e1e
commit 25c445b889

View File

@ -765,11 +765,6 @@ auto file_manager::rename_file(const std::string &from_api_path,
return api_error::file_in_use; return api_error::file_in_use;
} }
// Don't rename if destination file is uploading or downloading
if (is_processing(to_api_path)) {
return api_error::file_in_use;
}
// Handle destination file exists (should overwrite) // Handle destination file exists (should overwrite)
if (dest_exists) { if (dest_exists) {
filesystem_item fsi{}; filesystem_item fsi{};