mirror of
https://github.com/containers/podman.git
synced 2025-05-17 23:26:08 +08:00

This should never be pulled into the remote client. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
17 lines
493 B
Go
17 lines
493 B
Go
//go:build !remote
|
|
// +build !remote
|
|
|
|
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)
|
|
}
|