summaryrefslogtreecommitdiff
path: root/cmd/podman/machine/machine_unix.go
blob: b56d081ecbca429fcc7bc2c4cde8697715bb1da4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
//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
}