diff options
Diffstat (limited to 'new.go')
| -rw-r--r-- | new.go | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -32,6 +32,14 @@ func FindPathOld(path string) *RepoStatus { return windowMap[path] } +// makes a window of the status of the repo +// don't worry, you can think of it like Sierpinski carpet +// it's doesn't need to be displayed so it'll work fine even in an embedded space +func New(path string) (*RepoStatus, error) { + err, r := NewRepoStatusWindow(path) + return r, err +} + func NewRepoStatusWindow(path string) (error, *RepoStatus) { var realpath string var isGoLang bool = false |
