Documentation
¶
Index ¶
- Constants
- func ArrayContains(arr []string, str string) bool
- func GetFilePathAndName(path string) (string, string)
- func GetLogContenteKeyvals() []interface{}
- func GetLogFilePath(filename string) (string, error)
- func GetPackageStorePathByNames(packageNames ...string) (string, error)
- func IsFileExist(path string) bool
- func MergePath(paths ...string) string
- func NewLog(conf *conf.Bootstrap) (*logtool, error)
- func ReadLastNLines(file *os.File, n int) (string, error)
- type Bash
- type File
Constants ¶
View Source
const (
ShipStoreDirName = ".ship"
)
Variables ¶
This section is empty.
Functions ¶
func GetFilePathAndName ¶
func GetLogContenteKeyvals ¶
func GetLogContenteKeyvals() []interface{}
func GetLogFilePath ¶
func IsFileExist ¶
Types ¶
type Bash ¶
type Bash struct {
// contains filtered or unexported fields
}
func (*Bash) RunCommand ¶
type File ¶
type File struct {
// contains filtered or unexported fields
}
func (*File) ClearFileContent ¶
func (*File) GetFileFullPath ¶
func (*File) GetFileName ¶
func (*File) GetFilePath ¶
Click to show internal directories.
Click to hide internal directories.