mirror of
				https://github.com/containers/podman.git
				synced 2025-11-01 02:42:11 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
		
			262 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			262 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| //go:build !linux
 | |
| 
 | |
| package criu
 | |
| 
 | |
| import "fmt"
 | |
| 
 | |
| func CheckForCriu(version int) error {
 | |
| 	return fmt.Errorf("CheckForCriu not supported on this platform")
 | |
| }
 | |
| 
 | |
| func MemTrack() bool {
 | |
| 	return false
 | |
| }
 | |
| 
 | |
| func GetCriuVersion() (int, error) {
 | |
| 	return MinCriuVersion, nil
 | |
| }
 | 
