Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
101
type
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
TestTPQGetAll
Function · 0.65
CancelOperation
Method · 0.65
Implementers
2
InMemoryPeerStateManager
internal/api/syncapi/peerstate.go
SqlitePeerStateManager
internal/api/syncapi/peerstate.go
Calls
no outgoing calls
Tested by
1
TestTPQGetAll
Function · 0.52