Documentation
¶
Index ¶
- func ByteToString(orig []byte) string
- func FindTargetDeviceID(mi *MountInfo) bool
- func IsDir(FilePath string) bool
- func IsSoftLink(FilePath string) bool
- func MakeDev(major, minor string) int
- func RandString(n int) string
- func RemoveDuplicateElement(addrs []string) []string
- func RewriteFile(path string, content string, perm os.FileMode)
- func SetBlockAccessible(path string) error
- func ShellExec(shellPath string) error
- func UnixHttpSend(method string, unixPath string, uri string, data string) string
- func WriteFile(path string, content string) error
- type MountInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ByteToString ¶
func IsSoftLink ¶
func RandString ¶
func RemoveDuplicateElement ¶
func SetBlockAccessible ¶
set all block device accessible
func UnixHttpSend ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.