ditto / live.ditto / DittoDependencies

DittoDependencies

interface DittoDependencies

An interface describing the dependencies required to initialise a Ditto instance.

Functions

ensureDirectoryExists

abstract fun ensureDirectoryExists(path: String): Unit

persistenceDirectory

abstract fun persistenceDirectory(): String

Inheritors

AndroidDittoDependencies

An interface describing the dependencies required to initialise a live.ditto.Ditto instance when running on an Android device.

interface AndroidDittoDependencies : DittoDependencies