This commit is contained in:
@ -370,10 +370,10 @@ auto file_manager::is_processing(const std::string &api_path) const -> bool {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
auto file = file_iter->second;
|
auto closeable_file = file_iter->second;
|
||||||
open_lock.unlock();
|
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,
|
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) {
|
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,
|
void file_manager::queue_upload(const std::string &api_path,
|
||||||
|
Reference in New Issue
Block a user