Returns the commit message attached to a change, or NULL if no message
was provided when the change was committed.
Arguments
- change
An
am_changeobject (fromam_get_changes()oram_change_from_bytes())
Examples
doc <- am_create()
am_put(doc, AM_ROOT, "key", "value")
am_commit(doc, "Add key")
history <- am_get_changes(doc)
am_change_message(history[[1]]) # "Add key"
#> [1] "Add key"
am_close(doc)