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

Method Compact

driver/ipfs-synckv/db.go:475–480  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

473func (db *DB) NewSnapshot() (driver.ISnapshot, error) {
474 snapshot, err := db.localDB.GetSnapshot()
475 if err != nil {
476 return nil, err
477 }
478
479 s := &Snapshot{
480 db: db,
481 snp: snapshot,
482 }
483

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected