// IsUnixDomainSocket returns whether a given file is a AF_UNIX socket file func IsUnixDomainSocket(filePath string) (bool, error) { … } // Chmod is the same as os.Chmod on Unix. func Chmod(name string, mode os.FileMode) error { … } // MkdirAll is same as os.MkdirAll on Unix. func MkdirAll(path string, perm os.FileMode) error { … } // IsAbs is same as filepath.IsAbs on Unix. func IsAbs(path string) bool { … }