Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/abiosoft/mold
/ newVal
Function
newVal
engine.go:313–315 ·
view source on GitHub ↗
(val T)
Source
from the content-addressed store, hash-verified
311
}
312
313
func
newVal[T any](val T) optionVal[T] {
314
return
optionVal[T]{val: val, set: true}
315
}
316
317
func
(o *optionVal[T]) update(val T) {
318
o.val = val
Callers
4
WithRoot
Function · 0.85
WithLayout
Function · 0.85
WithExt
Function · 0.85
WithFuncMap
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected