Documentation
¶
Index ¶
- func DotfilesDir() (string, error)
- func FirstExistingPath(paths ...string) (string, error)
- func HomeToRepo(p string) (string, error)
- func IsIn(path string, dir string) bool
- func IsSymlink(path string) bool
- func PathExists(path string) bool
- func RepoToHome(p string) (string, error)
- func Run(name string, arg ...string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DotfilesDir ¶
func FirstExistingPath ¶
func HomeToRepo ¶
HomeToRepo converts a path in the home directory to a path in the dotfiles
func IsIn ¶ added in v0.0.2
IsIn checks if a path is in a directory It returns false if the path is the directory itself
func PathExists ¶
func RepoToHome ¶
RepoToHome converts a path in the dotfiles directory to a path in the home directory
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.