spiegel_podman/cmd/podman/machine/machine_unix.go
Jason T. Greene de4f76e7ea Fix strange buildtag edit
Signed-off-by: Jason T. Greene <jason.greene@redhat.com>
2022-05-13 12:11:51 -05:00

12 lines
340 B
Go

//go:build linux || aix || android || darwin || dragonfly || freebsd || hurd || illumos || ios || netbsd || openbsd || solaris
// +build linux aix android darwin dragonfly freebsd hurd illumos ios netbsd openbsd solaris
package machine
import (
"os"
)
func isUnixSocket(file os.DirEntry) bool {
return file.Type()&os.ModeSocket != 0
}