MCPcopy Create free account
hub / github.com/go-git/go-git / finaliseExtra

Method finaliseExtra

plumbing/object/commit_scanner.go:330–334  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

328}
329
330func (s *commitScanner) finaliseExtra() {
331 s.extra.Value = strings.TrimRight(s.extra.Value, "\n")
332 s.c.ExtraHeaders = append(s.c.ExtraHeaders, *s.extra)
333 s.extra = nil
334}
335
336// scanMessage drains the remaining bytes into the message buffer.
337func scanMessage(s *commitScanner) (commitState, error) {

Callers 1

scanExtraContFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected