mirror of
https://github.com/containers/podman.git
synced 2025-10-16 10:43:52 +08:00
19 lines
474 B
Go
19 lines
474 B
Go
package storage
|
|
|
|
import (
|
|
"go.podman.io/storage/pkg/lockfile"
|
|
)
|
|
|
|
// Deprecated: Use lockfile.*LockFile.
|
|
type Locker = lockfile.Locker //nolint:staticcheck // SA1019 lockfile.Locker is deprecated
|
|
|
|
// Deprecated: Use lockfile.GetLockFile.
|
|
func GetLockfile(path string) (lockfile.Locker, error) {
|
|
return lockfile.GetLockfile(path)
|
|
}
|
|
|
|
// Deprecated: Use lockfile.GetROLockFile.
|
|
func GetROLockfile(path string) (lockfile.Locker, error) {
|
|
return lockfile.GetROLockfile(path)
|
|
}
|