mirror of
				https://github.com/containers/podman.git
				synced 2025-10-31 10:00:01 +08:00 
			
		
		
		
	 c83efd0f07
			
		
	
	c83efd0f07
	
	
	
		
			
			... and update to remove the now-deprecated Locker interface. Signed-off-by: Miloslav Trmač <mitr@redhat.com>
		
			
				
	
	
		
			19 lines
		
	
	
		
			476 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			19 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)
 | |
| }
 |