MCPcopy Create free account
hub / github.com/IceFireDB/IceFireDB / Compact

Method Compact

driver/ipfs/db.go:251–256  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

249}
250
251func (db *DB) Compact() error {
252 return db.db.CompactRange(util.Range{
253 Start: nil,
254 Limit: nil,
255 })
256}
257
258func (db *DB) Metrics() (tit string, metrics []map[string]any) {
259 tit = "hybriddb cache"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected