FileKeyValueRepo

class FileKeyValueRepo(folder: File, filesChangedProcessingScope: CoroutineScope? = null) : KeyValueRepo<String, File> , WriteKeyValueRepo<String, File> , ReadKeyValueRepo<String, File>

Constructors

Link copied to clipboard
fun FileKeyValueRepo(folder: File, filesChangedProcessingScope: CoroutineScope? = null)

Functions

Link copied to clipboard
open suspend fun clear()
Link copied to clipboard
open suspend override fun contains(key: String): Boolean
Link copied to clipboard
open suspend override fun count(): Long
Link copied to clipboard
open suspend override fun get(k: String): File?
Link copied to clipboard
open suspend override fun keys(pagination: Pagination, reversed: Boolean): PaginationResult<String>
open suspend override fun keys(    v: File,     pagination: Pagination,     reversed: Boolean): PaginationResult<String>
Link copied to clipboard
open suspend override fun set(toSet: Map<String, File>)
Link copied to clipboard
open suspend override fun unset(toUnset: List<String>)
Link copied to clipboard
open suspend override fun unsetWithValues(toUnset: List<File>)
Link copied to clipboard
open suspend override fun values(pagination: Pagination, reversed: Boolean): PaginationResult<File>

Properties

Link copied to clipboard
open override val onNewValue: Flow<Pair<String, File>>
Link copied to clipboard
open override val onValueRemoved: Flow<String>