MCPcopy
hub / github.com/garethgeorge/backrest / GetAll

Method GetAll

internal/api/syncapi/peerstate.go:103–103  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

101type PeerStateManager interface {
102 GetPeerState(keyID string) *PeerState
103 GetAll() []*PeerState
104 SetPeerState(keyID string, state *PeerState)
105 OnStateChanged() eventemitter.Receiver[*PeerState]
106 Close() error

Callers 2

TestTPQGetAllFunction · 0.65
CancelOperationMethod · 0.65

Implementers 2

InMemoryPeerStateManagerinternal/api/syncapi/peerstate.go
SqlitePeerStateManagerinternal/api/syncapi/peerstate.go

Calls

no outgoing calls

Tested by 1

TestTPQGetAllFunction · 0.52