Files
podman/pkg/criu/criu_unsupported.go
Oleksandr Redko 2a2d0b0e18 chore: delete obsolete // +build lines
Signed-off-by: Oleksandr Redko <Oleksandr_Redko@epam.com>
2024-01-04 11:53:38 +02:00

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
}