Documentation
¶
Index ¶
- func Basename() string
- func CheckExists(path string) bool
- func Contains(path string, keyword string) bool
- func Copy(source string, destination string)
- func EmptyDir(dir string) error
- func HomeDir() string
- func IsProjectRoot(path string) bool
- func Mkdir(path string)
- func ProjectRoot() string
- func Remove(path string)
- func RemoveAll(path string)
- func Rename(orginal, new string) error
- func Replace(path string, body []byte)
- func ScanUp(path string) string
- func TouchByteArray(path string, body []byte) error
- func TouchEmpty(path string) error
- func TouchOrReplace(path string, body []byte)
- func WaitForSync(file string, retries int) (err error)
- func WorkDir() string
- func Writable(path string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Basename ¶
func Basename() string
Basename - Return the name of the directory the binary is being run in
func Mkdir ¶
func Mkdir(path string)
Mkdir - Check existence of folder and create if it doesn't exist
func ProjectRoot ¶
func ProjectRoot() string
ProjectRoot - Find the root directory path for the project
func WaitForSync ¶
WaitForSync polls the specified file path locally until it appears this is used to wait for sync from tokaido to local environments to complete.
Types ¶
This section is empty.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.