Files
podman/internal/localapi/utils_unsupported.go
Jan Rodák d889aeb6af artifact: Skip AddLocal optimization on WSL
The local API path optimization is ineffective on WSL because of NTFS mounting overhead.

Signed-off-by: Jan Rodák <hony.com@seznam.cz>
2025-11-19 18:20:37 +01:00

36 lines
973 B
Go

//go:build !amd64 && !arm64
package localapi
import (
"context"
"github.com/containers/podman/v6/pkg/domain/entities"
"github.com/sirupsen/logrus"
)
func CheckPathOnRunningMachine(ctx context.Context, path string) (*LocalAPIMap, bool) {
logrus.Debug("CheckPathOnRunningMachine is not supported")
return nil, false
}
func CheckIfImageBuildPathsOnRunningMachine(ctx context.Context, containerFiles []string, options entities.BuildOptions) ([]string, entities.BuildOptions, bool) {
logrus.Debug("CheckIfImageBuildPathsOnRunningMachine is not supported")
return nil, options, false
}
func IsHyperVProvider(ctx context.Context) (bool, error) {
logrus.Debug("IsHyperVProvider is not supported")
return false, nil
}
func IsWSLProvider(ctx context.Context) (bool, error) {
logrus.Debug("IsWSLProvider is not supported")
return false, nil
}
func ValidatePathForLocalAPI(path string) error {
logrus.Debug("ValidatePathForLocalAPI is not supported")
return nil
}