MCPcopy
hub / github.com/go-git/go-git / NewParser

Function NewParser

internal/revision/parser.go:115–117  ·  view source on GitHub ↗

NewParser returns a new instance of parser.

(r io.Reader)

Source from the content-addressed store, hash-verified

113
114// NewParser returns a new instance of parser.
115func NewParser(r io.Reader) *Parser {
116 return &Parser{s: newScanner(r)}
117}
118
119// scan returns the next token from the underlying scanner
120// or the last scanned token if an unscan was requested

Calls 1

newScannerFunction · 0.85

Used in the wild real call sites across dependent graphs

searching dependent graphs…