Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
104
func
(p *List[T]) UnshiftValue(value T) {
105
p.Unshift(&ListItem[T]{Value: value})
106
}
107
108
func
(p *List[T]) Unshift(item *ListItem[T]) {
109
if
item.list != nil {
Callers
nothing calls this directly
Calls
1
Unshift
Method · 0.95
Tested by
no test coverage detected