mirror of
https://github.com/containers/podman.git
synced 2026-02-19 15:39:50 -05:00
The local API path optimization is ineffective on WSL because of NTFS mounting overhead. Signed-off-by: Jan Rodák <hony.com@seznam.cz>
36 lines
973 B
Go
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
|
|
}
|