storage/lockfile_compat.go

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)
}