mirror of
				https://github.com/containers/podman.git
				synced 2025-11-04 08:56:05 +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)
 | 
						|
}
 |