Documentation ¶
Index ¶
- Variables
- func ConfigPath() string
- 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 ProjectsDirName() string
- func RecordsDirName() string
- func RootDir() string
- 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
func ProjectsDirName ¶ added in v0.2.0
func ProjectsDirName() string
ProjectsDirName returns the directory name for projects
func RecordsDirName ¶ added in v0.2.0
func RecordsDirName() string
RecordsDirName returns the directory name for records
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.