refactor
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:
2023-11-16 08:08:03 -06:00
parent 80f6e3c272
commit 7a24cc54f8
3 changed files with 5 additions and 21 deletions

View File

@ -400,12 +400,6 @@ auto file_manager::open(const std::string &api_path, bool directory,
return api_error::success;
}
auto file_manager::perform_locked_operation(
locked_operation_callback locked_operation) -> bool {
recur_mutex_lock open_lock(open_file_mtx_);
return locked_operation(provider_);
}
void file_manager::queue_upload(const i_open_file &o) {
return queue_upload(o.get_api_path(), o.get_source_path(), false);
}