Files
podman/libpod/container_stat_freebsd.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

16 lines
473 B
Go

//go:build !remote
package libpod
import (
"github.com/containers/buildah/copier"
)
// On FreeBSD, jails use the global mount namespace, filtered to only
// the mounts the jail should see. This means that we can use
// statOnHost whether the container is running or not.
// container is running
func (c *Container) statInContainer(mountPoint string, containerPath string) (*copier.StatForItem, string, string, error) {
return c.statOnHost(mountPoint, containerPath)
}