MCPcopy Create free account
hub / github.com/ActivityWatch/aw-server-rust / sync_one

Function sync_one

aw-sync/src/sync.rs:297–389  ·  view source on GitHub ↗

Syncs a single bucket from one datastore to another

(
    ds_from: &dyn AccessMethod,
    ds_to: &dyn AccessMethod,
    bucket_from: Bucket,
    bucket_to: Bucket,
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

sync_datastoresFunction · 0.85

Calls 5

nextMethod · 0.80
get_event_countMethod · 0.45
get_eventsMethod · 0.45
heartbeatMethod · 0.45
insert_eventsMethod · 0.45

Tested by

no test coverage detected