mirror of
https://github.com/grdl/git-get.git
synced 2026-02-07 04:20:37 +00:00
Load repos status simultaneously with goroutines
Also, refactor printer interface.
This commit is contained in:
@@ -5,7 +5,6 @@ import (
|
||||
"fmt"
|
||||
"io/ioutil"
|
||||
"os"
|
||||
"sort"
|
||||
"strings"
|
||||
"syscall"
|
||||
|
||||
@@ -98,8 +97,6 @@ func (r *RepoFinder) Find() ([]string, error) {
|
||||
return nil, fmt.Errorf("no git repos found in root path %s", r.root)
|
||||
}
|
||||
|
||||
sort.Strings(r.repos)
|
||||
|
||||
return r.repos, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user