This commit is contained in:
parent
49f0425e56
commit
393dc07de8
@ -440,6 +440,7 @@ void base_provider::remove_deleted_files() {
|
|||||||
static_cast<const char *>(__FUNCTION__),
|
static_cast<const char *>(__FUNCTION__),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if (not is_direct_only()) {
|
||||||
auto source_list =
|
auto source_list =
|
||||||
utils::file::directory{config_.get_cache_directory()}.get_files();
|
utils::file::directory{config_.get_cache_directory()}.get_files();
|
||||||
for (auto &&source_file : source_list) {
|
for (auto &&source_file : source_list) {
|
||||||
@ -472,6 +473,7 @@ void base_provider::remove_deleted_files() {
|
|||||||
source_file->get_path());
|
source_file->get_path());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
struct removed_item {
|
struct removed_item {
|
||||||
std::string api_path{};
|
std::string api_path{};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user