From 7f1f8d4028fada967beb484e30a336dfa30e6806 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 6 Dec 2024 01:50:03 -0600 Subject: code moved to gitpb --- goSrcScan.go | 25 ------------------------- 1 file changed, 25 deletions(-) (limited to 'goSrcScan.go') 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) { -- cgit v1.2.3