diff options
Diffstat (limited to 'goSrcScan.go')
| -rw-r--r-- | goSrcScan.go | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/goSrcScan.go b/goSrcScan.go index 9aedd85..d7a6cea 100644 --- a/goSrcScan.go +++ b/goSrcScan.go @@ -108,31 +108,6 @@ func IsGitDir(dir string) bool { return info.IsDir() } -/* -// rill is awesome. long live rill -func rillAddDirs(gopaths []string) { - // Convert a slice of user IDs into a channel - ids := rill.FromSlice(gopaths, nil) - - // Read users from the API. - // Concurrency = 20 - dirs := rill.Map(ids, 20, func(id string) (*repolist.RepoRow, error) { - return me.repos.View.FindByName(id), nil - }) - - // Activate users. - // Concurrency = 10 - err := rill.ForEach(dirs, 10, func(repo *repolist.RepoRow) error { - fmt.Printf("Repo found : %s\n", repo.GoPath()) - repo.Run([]string{"git", "pull"}) - return nil - }) - - // Handle errors - fmt.Println("Error:", err) -} -*/ - // rill is awesome. long live rill // attempt scan with rill func (f *Forge) rillScanDirs(gopaths []string) (int, error) { |
