aboutsummaryrefslogtreecommitdiff
path: root/libpod/container_stat_freebsd.go
blob: d1e0db34827d4b8a9370cf0748ec59ef62213db3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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)
}