harness-drone/store/shared/db/nop.go
2019-02-19 15:56:41 -08:00

12 lines
328 B
Go

// Copyright 2019 Drone.IO Inc. All rights reserved.
// Use of this source code is governed by the Drone Non-Commercial License
// that can be found in the LICENSE file.
package db
type nopLocker struct{}
func (nopLocker) Lock() {}
func (nopLocker) Unlock() {}
func (nopLocker) RLock() {}
func (nopLocker) RUnlock() {}