Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repo ¶
type Repo struct{ Store, Home string }
Repo represents a place where dotfiles are stored.
func New ¶
New returns a pointer to new instance of Repo. Makes sure that paths Repo initialized with are absolute, fails loudly if they are not absolute and can not be made that.
func (*Repo) OriginalFilePath ¶
OriginalFilePath computes original path of dotfile (where it should be symlinked) based on path where it is stored.
func (*Repo) StoredDotFiles ¶
StoredDotFiles returns a channel producing DotFile objects for every stored dotfile.
Click to show internal directories.
Click to hide internal directories.