removed is_processing check
All checks were successful
BlockStorage/repertory/pipeline/head This commit looks good
All checks were successful
BlockStorage/repertory/pipeline/head This commit looks good
This commit is contained in:
parent
ad97741e1e
commit
25c445b889
@ -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{};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user