save

fun save(object: T, filename: String?, context: Context)

Saves the commit log to disk.

Parameters

object

The object to save.

filename

The filename used for saving.

context

The context.

Throws

When saving the commit log failed.


fun save(object: T, output: OutputStream?)