MCPcopy Create free account
hub / github.com/NV404/gova / State

Method State

testing.go:198–202  ·  view source on GitHub ↗

State retrieves a state value from the test scope by its caller key.

(key string)

Source from the content-addressed store, hash-verified

196
197// State retrieves a state value from the test scope by its caller key.
198func (rt *RenderedTree) State(key string) any {
199 rt.scope.mu.Lock()
200 defer rt.scope.mu.Unlock()
201 return rt.scope.states[key]
202}
203
204type TextResult struct {
205 Value string

Callers 7

BodyMethod · 0.80
main.goFile · 0.80
main.goFile · 0.80
main.goFile · 0.80
main.goFile · 0.80
main.goFile · 0.80
main.goFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected