Documentation
¶
Index ¶
- func CheckDeviceSeemsMounted(devPathPrefix string) (bool, error)
- func CheckRunAsRoot() (bool, error)
- func CheckValidDevicePath(devPath string) error
- func GetDeviceLogicalBlockSize(devPath string) (uint64, error)
- func IsMacOS() bool
- func IsWindows() bool
- func SetNewProcessGroupCmd(cmd *exec.Cmd)
- func TerminateProcess(pid int) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckDeviceSeemsMounted ¶
This is never used except for a band-aid that would check that there are no double-mounts.
func CheckRunAsRoot ¶
func CheckValidDevicePath ¶
func GetDeviceLogicalBlockSize ¶ added in v0.2.0
func SetNewProcessGroupCmd ¶
func TerminateProcess ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.