Documentation
¶
Index ¶
- Variables
- func FindDevice() (string, error)
- func FindDeviceByPath(path string) (string, error)
- func FindDeviceByUUID(uuid string) (string, error)
- func GetDeviceSize(device string) (uint64, error)
- func GetFreeRam() (uint64, error)
- func IsAdmin() bool
- func RunAsRoot(executable string, args ...string) error
- type DeviceFile
- type USBDevice
Constants ¶
This section is empty.
Variables ¶
View Source
var DeviceNotFound = errors.New("Could not find device")
View Source
var RelativeRawVMDK = true
View Source
var SupportPassiveListener = true
Functions ¶
func FindDevice ¶
func FindDeviceByPath ¶
func FindDeviceByUUID ¶
func GetDeviceSize ¶
func GetFreeRam ¶
Types ¶
type DeviceFile ¶
func OpenDevice ¶
func OpenDevice(device string, mode int) (DeviceFile, error)
Click to show internal directories.
Click to hide internal directories.