MCPcopy Index your code
hub / github.com/git-bug/git-bug / reverse

Function reverse

bridge/github/import_mediator.go:267–276  ·  view source on GitHub ↗
(eds []userContentEdit)

Source from the content-addressed store, hash-verified

265}
266
267func reverse(eds []userContentEdit) chan userContentEdit {
268 ret := make(chan userContentEdit)
269 go func() {
270 for i := range eds {
271 ret <- eds[len(eds)-1-i]
272 }
273 close(ret)
274 }()
275 return ret
276}
277
278// varmap is a container for Github API's pagination variables
279type varmap map[string]interface{}

Callers 2

fillIssueEditEventsMethod · 0.85
fillCommentEditsMethod · 0.85

Calls 1

closeFunction · 0.85

Tested by

no test coverage detected