mirror of
https://github.com/openfaas/faasd.git
synced 2025-06-18 03:56:35 +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>
12 lines
302 B
Go
Generated
12 lines
302 B
Go
Generated
package mountinfo
|
|
|
|
import "golang.org/x/sys/unix"
|
|
|
|
func getMountinfo(entry *unix.Statfs_t) *Info {
|
|
return &Info{
|
|
Mountpoint: unix.ByteSliceToString(entry.F_mntonname[:]),
|
|
FSType: unix.ByteSliceToString(entry.F_fstypename[:]),
|
|
Source: unix.ByteSliceToString(entry.F_mntfromname[:]),
|
|
}
|
|
}
|