Coverage Summary for Class: RemoteConfigMirrorFactory_jvmKt (com.georgeci.moneysurfer.data.config)

Class Class, % Method, % Branch, % Line, % Instruction, %
RemoteConfigMirrorFactory_jvmKt 0% (0/1) 0% (0/2) 0% (0/4) 0% (0/16)


 package com.georgeci.moneysurfer.data.config
 
 import com.georgeci.moneysurfer.appconfig.RemoteConfigMirror
 import com.georgeci.moneysurfer.data.datastore.createReplaceOnCorruptionDataStore
 import com.georgeci.moneysurfer.domain.storage.appDataDir
 import kotlinx.coroutines.CoroutineScope
 import java.io.File
 
 /** Server-flag mirror for the desktop JVM build — see the Android factory. */
 fun createRemoteConfigMirror(scope: CoroutineScope): RemoteConfigMirror = RemoteConfigMirrorImpl(
     createReplaceOnCorruptionDataStore(
         producePath = { File(appDataDir(), REMOTE_FLAGS_FILE_NAME).absolutePath },
     ),
     scope,
 )