Coverage Summary for Class: ProjectionScope (com.georgeci.moneysurfer.domain.sync)
| Class |
Method, %
|
Branch, %
|
Line, %
|
Instruction, %
|
| ProjectionScope$All |
100%
(1/1)
|
|
100%
(1/1)
|
100%
(2/2)
|
| ProjectionScope$Workspace |
100%
(1/1)
|
|
100%
(1/1)
|
100%
(7/7)
|
| Total |
100%
(2/2)
|
|
100%
(2/2)
|
100%
(9/9)
|
package com.georgeci.moneysurfer.domain.sync
/**
* Scope of a recalculation request.
*
* Decoupled from `SyncScope` because local user mutations also trigger
* recalculation outside of the sync pipeline.
* See SyncCoordinatorFAQ.md №6.
*/
sealed interface ProjectionScope {
/** Recalculate everything for the workspace identified by [key]. */
data class Workspace(val key: String) : ProjectionScope
data object All : ProjectionScope
}