aboutsummaryrefslogtreecommitdiff
path: root/libpod/container_copy_freebsd.go
blob: 218f3917f723e4ac7cb14e232dd8fdfb46705a7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
package libpod

// On FreeBSD, the container's mounts are in the global mount
// namespace so we can just execute the function directly.
func (c *Container) joinMountAndExec(f func() error) error {
	return f()
}

// Similarly, we can just use resolvePath for both running and stopped
// containers.
func (c *Container) resolveCopyTarget(mountPoint string, containerPath string) (string, string, error) {
	return c.resolvePath(mountPoint, containerPath)
}