Skip to content

Commit

Permalink
Better documentation for IsNew
Browse files Browse the repository at this point in the history
  • Loading branch information
evanpurkhiser committed Jul 12, 2019
1 parent 95bff1c commit 6b222cd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion installer/prepare.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ import (
type PreparedDotfile struct {
*resolver.Dotfile

// IsNew indicates that the dotfile does not currently exist.
// IsNew indicates that the dotfile does not currently exist. A dotfile can
// be `Added` and not `IsNew` if a previous untracked dotfile file exists.
IsNew bool

// ContentsDiffer is a boolean flag representing that the compiled source
Expand Down

0 comments on commit 6b222cd

Please sign in to comment.