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

Method Close

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

Source from the content-addressed store, hash-verified

104 SetPeerState(keyID string, state *PeerState)
105 OnStateChanged() eventemitter.Receiver[*PeerState]
106 Close() error
107}
108
109type InMemoryPeerStateManager struct {

Callers 15

runCommandWithProgressFunction · 0.65
TestFirstRunFunction · 0.65
AllocOpenBindAddrFunction · 0.65
PostRequestFunction · 0.65
applySqliteMigrationsFunction · 0.65
dumpOperationsFunction · 0.65
CloseMethod · 0.65
QueryMethod · 0.65
QueryMetadataMethod · 0.65
TransformMethod · 0.65
deleteHelperMethod · 0.65
StoresForTestFunction · 0.65

Implementers 2

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

Calls

no outgoing calls

Tested by 11

TestFirstRunFunction · 0.52
StoresForTestFunction · 0.52
TestRunCommandFunction · 0.52
PeerStateManagersForTestFunction · 0.52
newPeerUnderTestFunction · 0.52
TestReadWriteFunction · 0.52
TestHugeReadWriteFunction · 0.52
TestReadWhileWriteFunction · 0.52
TestCreateManyFunction · 0.52
TestReopenStoreFunction · 0.52
TestFindLogsWithParentFunction · 0.52