Package dev.petuska.klip

Types

KlipManager
Link copied to clipboard
common
object KlipManager
A helper class to assist in reading and writing persisted klips
Klippable
Link copied to clipboard
common
annotation class Klippable
Annotation to mark functions to be picked up by the compiler plugin.
Klips
Link copied to clipboard
common
typealias Klips = MutableMap<String, String>

Functions

assertKlip
Link copied to clipboard
common
fun Any?.assertKlip(path: String? = null, key: String? = null, update: Boolean? = null)
Asserts that the given object matches its respective klip
assertMatchesKlip
Link copied to clipboard
common
fun assertMatchesKlip(actual: Any?, path: String? = null, key: String? = null, update: Boolean? = null)
Asserts that the given object matches its respective klip
verifyKlippable
Link copied to clipboard
common
fun verifyKlippable(path: String?, key: String?, update: Boolean?)
Utility function to verify compiler-injected arguments