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

Method Push

blame.go:518–518  ·  view source on GitHub ↗
(x any)

Source from the content-addressed store, hash-verified

516}
517func (pq *priorityQueueImp) Swap(i, j int) { (*pq)[i], (*pq)[j] = (*pq)[j], (*pq)[i] }
518func (pq *priorityQueueImp) Push(x any) { *pq = append(*pq, x.(*queueItem)) }
519func (pq *priorityQueueImp) Pop() any {
520 n := len(*pq)
521 ret := (*pq)[n-1]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected