MCPcopy Create free account
hub / github.com/GoEdgeLab/EdgeNode / Flush

Method Flush

internal/iplibrary/ip_list_kv.go:226–228  ·  view source on GitHub ↗

Flush to disk

()

Source from the content-addressed store, hash-verified

224
225// Flush to disk
226func (this *KVIPList) Flush() error {
227 return this.ipTable.DB().Store().Flush()
228}
229
230func (this *KVIPList) Close() error {
231 this.isClosed = true

Callers 4

TestKVIPList_AddItemFunction · 0.95

Calls 3

StoreMethod · 0.80
DBMethod · 0.80
FlushMethod · 0.65

Tested by 4

TestKVIPList_AddItemFunction · 0.76