removed logs
All checks were successful
BlockStorage/repertory_osx_builds/pipeline/head This commit looks good
BlockStorage/repertory_linux_builds/pipeline/head This commit looks good

This commit is contained in:
Scott E. Graves 2023-11-14 20:34:43 -06:00
parent 7203fefd33
commit 1b2981b06e

View File

@ -255,14 +255,12 @@ auto file_manager::open_file::native_operation(
return api_error::invalid_operation; return api_error::invalid_operation;
} }
std::cout << "native_operation1" << std::endl;
unique_recur_mutex_lock file_lock(file_mtx_); unique_recur_mutex_lock file_lock(file_mtx_);
if (stop_requested_) { if (stop_requested_) {
return api_error::download_stopped; return api_error::download_stopped;
} }
file_lock.unlock(); file_lock.unlock();
std::cout << "native_operation2" << std::endl;
const auto is_empty_file = new_file_size == 0U; const auto is_empty_file = new_file_size == 0U;
const auto last_chunk = const auto last_chunk =
is_empty_file ? std::size_t(0U) is_empty_file ? std::size_t(0U)
@ -272,7 +270,6 @@ auto file_manager::open_file::native_operation(
file_lock.lock(); file_lock.lock();
if (not is_empty_file && (last_chunk < read_state_.size())) { if (not is_empty_file && (last_chunk < read_state_.size())) {
std::cout << "native_operation3" << std::endl;
file_lock.unlock(); file_lock.unlock();
update_background_reader(0U); update_background_reader(0U);