Documentation ¶
Index ¶
- Variables
- func CreateDir(path string) error
- func DirExists(path string) bool
- func DirIsEmpty(path string) (bool, error)
- func EditFile(path string, editor string) error
- func FileExists(path string) bool
- func FindLatests(path string, isDir bool) (string, string, error)
- func Sanitize(file string) string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrNoFiles is an error for no files found at all ErrNoFiles = errors.New("no files") )
Functions ¶
func DirIsEmpty ¶ added in v0.2.0
DirIsEmpty checks if a directory is empty
func FindLatests ¶
FindLatests finds the "latest" file or directory in a file, by name
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.