FileWriteStandardKeyValueRepo

class FileWriteStandardKeyValueRepo(folder: File, filesChangedProcessingScope: CoroutineScope?) : WriteStandardKeyValueRepo<String, File>

Files watching will not correctly works on Android with version of API lower than API 26

Constructors

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

Functions

set
Link copied to clipboard
open suspend override fun set(toSet: Map<String, File>)
unset
Link copied to clipboard
open suspend override fun unset(toUnset: List<String>)
unsetWithValues
Link copied to clipboard
open suspend override fun unsetWithValues(toUnset: List<File>)

Properties

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