mirror of
https://github.com/openfaas/faasd.git
synced 2025-06-20 23:46:36 +00:00
* Updates containerd to v1.7.0 and new binary for 32-bit Arm OSes. * Updates Go dependencies - openfaas and external Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
15 lines
351 B
Go
Generated
15 lines
351 B
Go
Generated
//go:build freebsd || darwin
|
|
// +build freebsd darwin
|
|
|
|
package mountinfo
|
|
|
|
import "golang.org/x/sys/unix"
|
|
|
|
func getMountinfo(entry *unix.Statfs_t) *Info {
|
|
return &Info{
|
|
Mountpoint: unix.ByteSliceToString(entry.Mntonname[:]),
|
|
FSType: unix.ByteSliceToString(entry.Fstypename[:]),
|
|
Source: unix.ByteSliceToString(entry.Mntfromname[:]),
|
|
}
|
|
}
|