mirror of
				https://github.com/containers/podman.git
				synced 2025-10-31 18:08:51 +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)
 | |
| }
 | 
