MCPcopy 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
313func newVal[T any](val T) optionVal[T] {
314 return optionVal[T]{val: val, set: true}
315}
316
317func (o *optionVal[T]) update(val T) {
318 o.val = val

Callers 4

WithRootFunction · 0.85
WithLayoutFunction · 0.85
WithExtFunction · 0.85
WithFuncMapFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected