MCPcopy Create free account
hub / github.com/DeAI-Artist/Linkis / State

Method State

evidence/pool.go:253–257  ·  view source on GitHub ↗

State returns the current state of the evpool.

()

Source from the content-addressed store, hash-verified

251
252// State returns the current state of the evpool.
253func (evpool *Pool) State() sm.State {
254 evpool.mtx.Lock()
255 defer evpool.mtx.Unlock()
256 return evpool.state
257}
258
259func (evpool *Pool) Close() error {
260 return evpool.evidenceStore.Close()

Callers 3

isExpiredMethod · 0.95
verifyMethod · 0.95

Calls 2

LockMethod · 0.65
UnlockMethod · 0.65

Tested by

no test coverage detected