Skip to main content

sync_entry

Function sync_entry 

Source
pub(crate) fn sync_entry(
    fs: &FileStore,
    store: &Store,
    scope: &str,
    id: &str,
    source: Option<&str>,
) -> Result<bool, StoreError>
Expand description

Record entry id as the store now has it, if the record differs: a new version while it is Global Memory, a tombstone once it isn’t. source overrides the attribution (the startup comparison). Returns whether anything was recorded.