osspecifics

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 11, 2023 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckDeviceSeemsMounted

func CheckDeviceSeemsMounted(devPathPrefix string) (bool, error)

This is never used except for a band-aid that would check that there are no double-mounts.

func CheckRunAsRoot

func CheckRunAsRoot() (bool, error)

func CheckValidDevicePath

func CheckValidDevicePath(devPath string) error

func IsMacOS

func IsMacOS() bool

func IsWindows

func IsWindows() bool

func SetNewProcessGroupCmd

func SetNewProcessGroupCmd(cmd *exec.Cmd)

func TerminateProcess

func TerminateProcess(pid int) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL