MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / Push

Method Push

sdk/cliproxy/auth/auto_refresh_loop.go:436–443  ·  view source on GitHub ↗
(x any)

Source from the content-addressed store, hash-verified

434}
435
436func (h *refreshMinHeap) Push(x any) {
437 item, ok := x.(*refreshHeapItem)
438 if !ok || item == nil {
439 return
440 }
441 item.index = len(*h)
442 *h = append(*h, item)
443}
444
445func (h *refreshMinHeap) Pop() any {
446 old := *h

Callers 6

setupGitRemoteRepositoryFunction · 0.80
advanceRemoteBranchFunction · 0.80
commitAndPushLockedMethod · 0.80
rebuildMethod · 0.80
upsertMethod · 0.80

Calls

no outgoing calls

Tested by 3

setupGitRemoteRepositoryFunction · 0.64
advanceRemoteBranchFunction · 0.64