Go stdlib package — container/heap. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.
.Fix()NeutralFix(h Interface, i int)
Fix re-establishes the heap ordering after the element at index i has changed its value.
.Init()NeutralInit(h Interface)
Init establishes the heap invariants required by the other routines in this package.
.Pop()NeutralPop(h Interface) any
Pop removes and returns the minimum element (according to Less) from the heap.
.Remove()NeutralRemove(h Interface, i int) any
Remove removes and returns the element at index i from the heap.
| FQN | Field | |
|---|---|---|
| container/heap | fqns[0] |
Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.
// standard library — no go.mod entry required
from codepathfinder.go_rule import ... # container/heap