utils

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckIfFileIsExist

func CheckIfFileIsExist(filename string) bool

func CheckRemoteRepo

func CheckRemoteRepo() (bool, error)

func CreateDir added in v0.4.0

func CreateDir(dirName string) error

func CreateFileInCurrentDir

func CreateFileInCurrentDir(filename string) (*os.File, error)

func GetConfigFilePath added in v0.4.0

func GetConfigFilePath(fileName string) string

func GetConfigFolderPath added in v0.4.0

func GetConfigFolderPath() string

func GetCurrentWorkingDirName

func GetCurrentWorkingDirName() string

func GetCurrentWorkingDirPath

func GetCurrentWorkingDirPath() string

func GetUserConfigFilePath added in v0.5.0

func GetUserConfigFilePath() string

func GitAddAll

func GitAddAll() error

func ResetAccount added in v0.5.0

func ResetAccount(reset string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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