mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-13 20:29:35 +00:00
This PR reflects the upstream change of moving the buildah module from github.com/containers/buildah to go.podman.io/buildah. Signed-off-by: Brent Baude <bbaude@redhat.com>
15 lines
464 B
Go
15 lines
464 B
Go
//go:build !remote
|
|
|
|
package libpod
|
|
|
|
import (
|
|
"go.podman.io/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)
|
|
}
|