mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-09-12 10:37:54 +00:00
Cherry picked from commit 2e8bce201e with
additional updates required for the v4.2.0-rhel branch.
Signed-off-by: tomsweeneyredhat <tsweeney@redhat.com>
Assisted by AI: Cursor <Auto>
Signed-off-by: Chris Evich <cevich@redhat.com>
18 lines
476 B
Go
18 lines
476 B
Go
package storage
|
|
|
|
import (
|
|
"github.com/containers/storage/pkg/lockfile"
|
|
)
|
|
|
|
// Deprecated: Use lockfile.*LockFile.
|
|
type Locker = lockfile.Locker //lint:ignore 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)
|
|
}
|