MCPcopy
hub / github.com/perkeep/perkeep / Close

Method Close

pkg/sorted/kv.go:73–73  ·  view source on GitHub ↗

Close is a polite way for the server to shut down the storage. Implementations should never lose data after a Set, Delete, or CommmitBatch, though.

()

Source from the content-addressed store, hash-verified

71 // Implementations should never lose data after a Set, Delete,
72 // or CommmitBatch, though.
73 Close() error
74}
75
76// TransactionalReader is an optional interface that may be implemented by storage

Callers 15

newMySQLSortedFunction · 0.95
newMongoSortedFunction · 0.95
newPostgresSortedFunction · 0.95
getMultipartOverheadFunction · 0.65
doStatMethod · 0.65
UploadMethod · 0.65
RemoveBlobsMethod · 0.65
FetchSchemaBlobMethod · 0.65
fetchViaMethod · 0.65
NewFromShareRootFunction · 0.65
QueryRawMethod · 0.65

Implementers 6

memKeyspkg/sorted/mem.go
kvispkg/sorted/kvfile/kvfile.go
keyValuepkg/sorted/mongo/mongokv.go
KeyValuepkg/sorted/buffer/buffer.go
KeyValuepkg/sorted/sqlkv/sqlkv.go
kvispkg/sorted/leveldb/leveldb.go

Calls

no outgoing calls

Tested by 15

newMySQLSortedFunction · 0.76
newMongoSortedFunction · 0.76
newPostgresSortedFunction · 0.76
TestIntegrationRunFunction · 0.52
writePackFunction · 0.52
newTestStorageFunction · 0.52
TestCloseFunction · 0.52
TestBadDirFunction · 0.52
TestWriteErrorFunction · 0.52
TestOptFunction · 0.52
TestS3WriteFilesFunction · 0.52