MCPcopy Create free account
hub / github.com/pydio/cells / SetSnapshotFactory

Method SetSnapshotFactory

common/sync/task/sync.go:214–216  ·  view source on GitHub ↗

SetSnapshotFactory set up a factory for loading/saving snapshots

(factory model.SnapshotFactory)

Source from the content-addressed store, hash-verified

212
213// SetSnapshotFactory set up a factory for loading/saving snapshots
214func (s *Sync) SetSnapshotFactory(factory model.SnapshotFactory) {
215 s.snapshotFactory = factory
216}
217
218// SetupEventsChan wires internal sync event to external status channels
219func (s *Sync) SetupEventsChan(statusChan chan model.Status, batchDone chan interface{}, events chan interface{}) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected