MCPcopy
hub / github.com/eth0izzle/shhgit / ProcessGists

Function ProcessGists

main.go:37–48  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35}
36
37func ProcessGists() {
38 threadNum := *session.Options.Threads
39
40 for i := 0; i < threadNum; i++ {
41 go func(tid int) {
42 for {
43 gistUrl := <-session.Gists
44 processRepositoryOrGist(gistUrl)
45 }
46 }(i)
47 }
48}
49
50func processRepositoryOrGist(url string) {
51 var (

Callers 1

mainFunction · 0.85

Calls 1

processRepositoryOrGistFunction · 0.85

Tested by

no test coverage detected