Package-level declarations

Types

Link copied to clipboard
class ArrayMap<K : Comparable<K>, V : Any>(data: Array<Any>) : Map<K, V>

An immutable, sorted, array-backed map - if keys are String, they have a special sort order where / is the lowest key.

Link copied to clipboard
class ArraySet<K : Comparable<K>>(data: Array<Any>) : ListBackedSet<K>

An immutable, sorted, array-backed set - if keys are String, they have a special sort order where / is the lowest key.

Link copied to clipboard
Link copied to clipboard
class BinarySelfie(val actual: Snapshot, disk: DiskStorage, onlyFacet: String) : DiskSelfie, BinaryFacet
Link copied to clipboard
class BooleanSelfie(actual: Boolean)
Link copied to clipboard
fun interface Cacheable<T>

A getter which may or may not be run.

Link copied to clipboard
class CacheSelfie<T>(disk: DiskStorage, roundtrip: Roundtrip<T, String>, generator: Cacheable<T>)
Link copied to clipboard
class CacheSelfieBinary<T>(disk: DiskStorage, roundtrip: Roundtrip<T, ByteArray>, generator: Cacheable<T>)
Link copied to clipboard
fun interface Camera<Subject>

A camera transforms a subject of a specific type into a Snapshot (tutorial for jvm).

Link copied to clipboard
open class CompoundLens : Lens

A lens which makes it easy to pipe data from one facet to another within a snapshot (tutorial for jvm).

Link copied to clipboard
open class DiskSelfie : FluentFacet

A selfie which can be stored into a selfie-managed file.

Link copied to clipboard
class E<K, V>(val key: K, val value: V) : Map.Entry<K, V>
Link copied to clipboard
interface FluentFacet
Link copied to clipboard
class IntSelfie(actual: Int)
Link copied to clipboard
fun interface Lens

A lens transforms a single Snapshot into a new Snapshot, transforming / creating / removing SnapshotValues along the way (tutorial for jvm).

Link copied to clipboard
Link copied to clipboard
abstract class ListBackedSet<T> : AbstractSet<T>
Link copied to clipboard
class LongSelfie(actual: Long)
Link copied to clipboard
enum Mode : Enum<Mode>
Link copied to clipboard
Link copied to clipboard

If your escape policy is "'123", it means this:

Link copied to clipboard
Link copied to clipboard
class RoundtripJson<T>(strategy: KSerializer<T>) : Roundtrip<T, String>

Roundtrips the given type into pretty-printed Json.

Link copied to clipboard
object Selfie

Static methods for creating snapshots.

Link copied to clipboard
data class Snapshot
Link copied to clipboard
Link copied to clipboard
class SnapshotReader(val valueReader: SnapshotValueReader)
Link copied to clipboard
sealed interface SnapshotValue
Link copied to clipboard
class SnapshotValueReader(val lineReader: LineReader)

Provides the ability to parse a snapshot file incrementally.

Link copied to clipboard
expect interface StringFacet : FluentFacet
actual interface StringFacet : FluentFacet
actual interface StringFacet : FluentFacet
Link copied to clipboard

A function which transforms a string into either another string or null.

Link copied to clipboard
class StringSelfie(val actual: Snapshot, disk: DiskStorage, onlyFacets: Collection<String>? = null) : DiskSelfie, StringFacet

Functions