Versions in this module Expand all Collapse all v0 v0.17.0 May 18, 2026 Changes in this version + var ErrUsage = errors.New("incorrect usage") + func GetFileBytes(fileName string) ([]byte, error) + func ReadFile(fileLocation string) ([]byte, error) + func WriteFile(data []byte, fileLocation string) error v0.7.0 Aug 31, 2020 Changes in this version + var Debug = func(string, ...interface{}) + var StorageBlkDevices block.BlockDevices + func AddToPersistQueue(desc string, data []byte, location string, defFile string) error + func ClearPersistQueue() error + func GetBlkInfo() error + func GetMountedFilePath(inputVal string, flags uintptr) (string, error) + func GetStorageDevice(input string) (*block.BlockDev, error) + func MountDevice(device *block.BlockDev, flags uintptr) (string, error) + func UnmountAll() + func WriteToFile(data []byte, dst, defFileName string) (string, error)