utils

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileExited added in v1.2.0

func FileExited(path string) bool

FileExited check file exited

func FilePath

func FilePath(path string) string

FilePath replace ~ -> $HOME

func If

func If(condition bool, trueVal, falseVal interface{}) interface{}

If If

func IsDirector added in v1.2.0

func IsDirector(path string) bool

IsDirector IsDir

func SessIO added in v1.1.0

func SessIO(sess *ssh.Session) ssh.Session

SessIO SessIO

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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