MCPcopy Create free account
hub / github.com/Monibuca/engine / UnshiftValue

Method UnshiftValue

util/list.go:104–106  ·  view source on GitHub ↗
(value T)

Source from the content-addressed store, hash-verified

102}
103
104func (p *List[T]) UnshiftValue(value T) {
105 p.Unshift(&ListItem[T]{Value: value})
106}
107
108func (p *List[T]) Unshift(item *ListItem[T]) {
109 if item.list != nil {

Callers

nothing calls this directly

Calls 1

UnshiftMethod · 0.95

Tested by

no test coverage detected