mirror of
https://github.com/containers/podman.git
synced 2025-08-06 19:44:14 +08:00
16 lines
299 B
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)
|
|
}
|