Documentation
¶
Index ¶
- func Chdir(path string)
- func CheckError(err error, msg ...interface{})
- func ClearScreen(Os string)
- func CreateFile(filepath string)
- func Err(msg string)
- func FrecencyScore(hits, age int64) int64
- func GetAbsPathSlice(root string, paths []string) []string
- func GetNonDotDirs(dirs []string) []string
- func GetOs() string
- func GetTerminalHeight() int
- func HomeDir() string
- func Info(msg string)
- func IsDotFile(filename string) bool
- func IsKeyboardInterrupt(err error) bool
- func Lambda() float64
- func PathExists(path string) bool
- func PathIsDir(path string) bool
- func PathIsFile(path string) bool
- func PathIsLink(path string) bool
- func ReadYamlFile(filepath string, store *interface{})
- func Remove(s []string, i int) []string
- func ResolveLink(path string) string
- func Warn(msg string)
- func WriteToFile(filepath, data string)
- func WriteYamlFile(filepath string, data interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckError ¶
func CheckError(err error, msg ...interface{})
func ClearScreen ¶
func ClearScreen(Os string)
func CreateFile ¶ added in v0.1.3
func CreateFile(filepath string)
func FrecencyScore ¶ added in v0.1.5
age= current unix timestamp(in sec) - last accessed frecency_score= 1000*hits*e^(-lambda*age) each hits worth 1000 points
func GetAbsPathSlice ¶ added in v0.1.5
func GetNonDotDirs ¶
func GetTerminalHeight ¶
func GetTerminalHeight() int
func IsKeyboardInterrupt ¶
func PathExists ¶
func PathIsFile ¶
func PathIsLink ¶
func ReadYamlFile ¶ added in v0.1.3
func ReadYamlFile(filepath string, store *interface{})
func ResolveLink ¶
func WriteToFile ¶
func WriteToFile(filepath, data string)
func WriteYamlFile ¶ added in v0.1.3
func WriteYamlFile(filepath string, data interface{})
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.