skopeo/vendor/github.com/containers/storage/lockfile_compat.go
Valentin Rothberg 700b3102af update github.com/containers/{image,storage}
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2019-08-06 14:13:03 +02:00

16 lines
299 B
Go

package storage
import (
"github.com/containers/storage/pkg/lockfile"
)
type Locker = lockfile.Locker
func GetLockfile(path string) (lockfile.Locker, error) {
return lockfile.GetLockfile(path)
}
func GetROLockfile(path string) (lockfile.Locker, error) {
return lockfile.GetROLockfile(path)
}