File Key Value Repo
class FileKeyValueRepo(folder: File, filesChangedProcessingScope: CoroutineScope? = null) : KeyValueRepo<String, File> , WriteKeyValueRepo<String, File> , ReadKeyValueRepo<String, File>
Content copied to clipboard
Constructors
Link copied to clipboard
fun FileKeyValueRepo(folder: File, filesChangedProcessingScope: CoroutineScope? = null)
Content copied to clipboard
Functions
Link copied to clipboard
By default, will remove all the data of current repo using doAllWithCurrentPaging, keys and unset
Link copied to clipboard
open suspend override fun keys(pagination: Pagination, reversed: Boolean): PaginationResult<String>
Content copied to clipboard
open suspend override fun keys( v: File, pagination: Pagination, reversed: Boolean): PaginationResult<String>
Content copied to clipboard
This method should use sorted by Keys search and take the PaginationResult. By default, it should use ascending sort for Keys
Link copied to clipboard
By default, will walk throw all the keys with Values from toUnset and run doAllWithCurrentPaging with unset of found data Keys
Link copied to clipboard
open suspend override fun values(pagination: Pagination, reversed: Boolean): PaginationResult<File>
Content copied to clipboard
This method should use sorted by Keys search and take the PaginationResult. By default, it should use ascending sort for Keys