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

Method String

worktree.go:922–924  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

920}
921
922func (gr GrepResult) String() string {
923 return fmt.Sprintf("%s:%s:%d:%s", gr.TreeName, gr.FileName, gr.LineNumber, gr.Content)
924}
925
926// Grep performs grep on a repository.
927func (r *Repository) Grep(opts *GrepOptions) ([]GrepResult, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected