mirror of
https://github.com/containers/podman.git
synced 2025-05-17 06:59:07 +08:00
16 lines
473 B
Go
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)
|
|
}
|