helper

package
v0.0.0-...-f2f83b6 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanPath

func CleanPath(name string) string

func CommandAvailable

func CommandAvailable(name string) bool

func CopyFile

func CopyFile(source_path string, destination_path string) error

func DriveExists

func DriveExists(drive_letter string) error

Does drive exist?

func Exists

func Exists(path string) error

func FileNameWithoutExtension

func FileNameWithoutExtension(fileName string) string

func FindElm

func FindElm(slice []string, val string) bool

func GetAppDir

func GetAppDir() (string, error)

func GetDatabaseFile

func GetDatabaseFile() string

func GetDrives

func GetDrives() (r []string)

Returns list of available drives

func GetKsuidFromDrive

func GetKsuidFromDrive(drive_letter string) string

Get ksuid form .drive file by drive letter

func ReadFileLines

func ReadFileLines(path string) ([]string, error)

Reads lines from text file

func RemoveDriveLetter

func RemoveDriveLetter(name string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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