MCPcopy Create free account
hub / github.com/syncthing/syncthing / addCommit

Method addCommit

script/authors.go:319–326  ·  view source on GitHub ↗
(email, hash string)

Source from the content-addressed store, hash-verified

317}
318
319func (a *authorSet) addCommit(email, hash string) {
320 ss, ok := a.commits[email]
321 if !ok {
322 ss = make(stringSet)
323 a.commits[email] = ss
324 }
325 ss.add(hash)
326}
327
328func (a *authorSet) filteredAuthors() []author {
329 authors := make([]author, len(a.authors))

Callers 1

addAuthorsFunction · 0.80

Calls 1

addMethod · 0.45

Tested by

no test coverage detected