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

Function main

main.go:131–148  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

129}
130
131func main() {
132 session.Log.Info("%s v%s started. Loaded %d signatures. Using %d threads. Work dir: %s", core.Name, core.Version, len(session.Signatures), *session.Options.Threads, *session.Options.TempDirectory)
133
134 if *session.Options.SearchQuery != "" {
135 session.Log.Important("Search Query '%s' given. Only returning matching results.", *session.Options.SearchQuery)
136 }
137
138 go core.GetRepositories(session)
139 go ProcessRepositories()
140
141 if *session.Options.ProcessGists {
142 go core.GetGists(session)
143 go ProcessGists()
144 }
145
146 session.Log.Info("Press Ctrl+C to stop and exit.\n")
147 select {}
148}

Callers

nothing calls this directly

Calls 6

GetRepositoriesFunction · 0.92
GetGistsFunction · 0.92
ProcessRepositoriesFunction · 0.85
ProcessGistsFunction · 0.85
InfoMethod · 0.80
ImportantMethod · 0.80

Tested by

no test coverage detected