MCPcopy Create free account
hub / github.com/bluekeyes/patch2pr / Entries

Method Entries

applier.go:194–200  ·  view source on GitHub ↗

Entries returns the list of pending tree entries.

()

Source from the content-addressed store, hash-verified

192
193// Entries returns the list of pending tree entries.
194func (a *Applier) Entries() []*github.TreeEntry {
195 entries := make([]*github.TreeEntry, 0, len(a.entries))
196 for _, e := range a.entries {
197 entries = append(entries, e)
198 }
199 return entries
200}
201
202// CreateTree creates a tree from the pending tree entries and clears the entry
203// list. The new tree serves as the base tree for future Apply calls.

Callers 1

CreateTreeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected