//Get returns the progressive sync state object for the specified progressive sync
Get returns the progressive sync state object for the specified progressive sync
// Get returns the progressive sync state object for the specified progressive sync
func (p *ProgressiveSyncStateManagerImpl) Get(name string) (ProgressiveSyncState, error) {
	p.Mutex.Lock()
	defer p.Mutex.Unlock()
	_, ok := p.syncStates[name]
	if !ok {
		p.syncStates[name] = newProgressiveSyncState(name)
	}
	return p.syncStates[name], nil
}
func ( p * ProgressiveSyncStateManagerImpl ) Get ( name string ) ( ProgressiveSyncState , error ) { p . Mutex . Lock ( ) defer p . Mutex . Unlock ( ) _ , ok := p . syncStates [ name ] if ! ok { p . syncStates [ name ] = newProgressiveSyncState ( name ) } return p . syncStates [ name ] , nil }
Get returns the progressive sync state object for the specified progressive sync
Get returns the progressive sync state object for the specified progressive sync