Class: SyncManager

SyncManager

The sync manager is a singleton that handles the instantiation of Syncs objects.


new SyncManager(logger, db, container)

Parameters:
Name Type Description
logger olympe.logging.Channel
db olympe.dc.DBView
container olympe.di.Container

Methods


createSync(tag)

Creates a sync instance from the specified tag

Parameters:
Name Type Description
tag string
Returns:
Type
olympe.dc.CloudObject

getSyncEntry(tag)

Gets the "resolved" sync entry for the specified tag, that is the tag's entry if available or the first parent entry.

Parameters:
Name Type Description
tag string
Returns:
Type
olympe.dc.registry.Entry