SyncSource

sealed interface SyncSource(source)

Where an entry's bytes come from.

Inheritors

Types

Link copied to clipboard
data object Absent : SyncSource

Declared but missing locally: never uploaded, and its remote copy is never deleted (it may be the last one).

Link copied to clipboard
class Bytes(val bytes: ByteArray) : SyncSource

In-memory bytes, typically a small generated JSON file.

Link copied to clipboard
data class LocalFile(val path: String) : SyncSource

A local file, uploaded as a whole.