MCPcopy Index your code
hub / github.com/go-git/go-git / NewParserFromString

Function NewParserFromString

internal/revision/parser.go:110–112  ·  view source on GitHub ↗

NewParserFromString returns a new instance of parser from a string.

(s string)

Source from the content-addressed store, hash-verified

108
109// NewParserFromString returns a new instance of parser from a string.
110func NewParserFromString(s string) *Parser {
111 return NewParser(bytes.NewBufferString(s))
112}
113
114// NewParser returns a new instance of parser.
115func NewParser(r io.Reader) *Parser {

Callers 2

ResolveRevisionMethod · 0.92

Calls 1

NewParserFunction · 0.70

Tested by 1

Used in the wild real call sites across dependent graphs

searching dependent graphs…