mirror of
https://github.com/containers/skopeo.git
synced 2025-09-23 19:07:03 +00:00
Bumps [github.com/containers/storage](https://github.com/containers/storage) from 1.41.0 to 1.42.0. - [Release notes](https://github.com/containers/storage/releases) - [Changelog](https://github.com/containers/storage/blob/main/docs/containers-storage-changes.md) - [Commits](https://github.com/containers/storage/compare/v1.41.0...v1.42.0) --- updated-dependencies: - dependency-name: github.com/containers/storage dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
15 lines
351 B
Go
15 lines
351 B
Go
//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[:]),
|
|
}
|
|
}
|