Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExpandHome ¶
ExpandHome expands a leading tilde to the user's home directory.
func FileExists ¶
FileExists is a helper function to check if a file exists.
func StringHash ¶
Types ¶
type Doer ¶
type Doer interface {
Do() (bool, error)
Undo() (bool, error)
Status() (Status, error)
ID() string
}
Doer can do and undo things.
Click to show internal directories.
Click to hide internal directories.