From fc48446ec4caf0e285f704caf187f714d9910ef4 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Sun, 29 Jan 2023 13:15:26 +0600 Subject: [PATCH] temporarily remove fallback repo --- CHANGELOG.md | 1 - .../dev/inmo/micro_utils/repos/cache/FallbackCacheRepo.kt | 8 -------- 2 files changed, 9 deletions(-) delete mode 100644 repos/cache/src/commonMain/kotlin/dev/inmo/micro_utils/repos/cache/FallbackCacheRepo.kt diff --git a/CHANGELOG.md b/CHANGELOG.md index 6418daf82f3..18b8bd0ba82 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,7 +18,6 @@ * `Cache`: * New type `FullCacheRepo` * New type `CommonCacheRepo` - * New type `FallbackCacheRepo` * `CacheRepo` got `invalidate` method. It will fully reload `FullCacheRepo` and just clear `CommonCacheRepo` * New extensions `KVCache.actualizeAll` diff --git a/repos/cache/src/commonMain/kotlin/dev/inmo/micro_utils/repos/cache/FallbackCacheRepo.kt b/repos/cache/src/commonMain/kotlin/dev/inmo/micro_utils/repos/cache/FallbackCacheRepo.kt deleted file mode 100644 index 0be4cc9eb3e..00000000000 --- a/repos/cache/src/commonMain/kotlin/dev/inmo/micro_utils/repos/cache/FallbackCacheRepo.kt +++ /dev/null @@ -1,8 +0,0 @@ -package dev.inmo.micro_utils.repos.cache - -/** - * Any inheritor of this should work with next logic: try to take data from original repo and, - * if not exists, try to take from the cache some. In case if original repo have returned result, it should be saved to the internal - * [dev.inmo.micro_utils.repos.cache.cache.KVCache] - */ -interface FallbackCacheRepo : CacheRepo