cleanup
All checks were successful
BlockStorage/repertory/pipeline/head This commit looks good

This commit is contained in:
2024-12-24 13:30:21 -06:00
parent dcaa200b67
commit 6af3b30b4c

View File

@ -370,10 +370,10 @@ auto file_manager::is_processing(const std::string &api_path) const -> bool {
return false;
}
auto file = file_iter->second;
auto closeable_file = file_iter->second;
open_lock.unlock();
return file->is_modified() || not file->is_complete();
return closeable_file->is_modified() || not closeable_file->is_complete();
}
auto file_manager::open(const std::string &api_path, bool directory,
@ -507,7 +507,7 @@ auto file_manager::open(const std::string &api_path, bool directory,
}
void file_manager::queue_upload(const i_open_file &file) {
return queue_upload(file.get_api_path(), file.get_source_path(), false);
queue_upload(file.get_api_path(), file.get_source_path(), false);
}
void file_manager::queue_upload(const std::string &api_path,