util

package
v1.4.5 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBackupDirectory added in v1.0.3

func GetBackupDirectory() string

func GetDirectory

func GetDirectory() string

func GetPassword added in v1.0.0

func GetPassword() (string, error)

func HomeDir added in v1.3.3

func HomeDir() string

HomeDir returns the base directory + backup-app On Unix, including macOS, it returns the $HOME environment variable. On Windows, it returns %USERPROFILE%/backup-app. On Plan 9, it returns the $home environment variable.

func InArray

func InArray(val interface{}, array interface{}) (exists bool, index int)

func PathExists

func PathExists(path string) bool

func Which

func Which() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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