[][src]Function hdk::api::update_entry

pub fn update_entry(
    new_entry: Entry,
    address: &Address
) -> ZomeApiResult<Address>

Commit an entry to your local source chain that "updates" a previous entry, meaning when getting the previous entry, the updated entry will be returned. update_entry sets the previous entry's status metadata to Modified and adds the updated entry's address in the previous entry's metadata. The updated entry will hold the previous entry's address in its header, which will be used by validation routes.