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

Method Repair

driver/crdt/db.go:115–121  ·  view source on GitHub ↗
(path string, cfg *config.Config)

Source from the content-addressed store, hash-verified

113}
114
115func (s Store) Repair(path string, cfg *config.Config) error {
116 db, err := s.Open(path, cfg)
117 if err != nil {
118 return err
119 }
120 return db.(*DB).db.Repair(context.Background())
121}
122
123type DB struct {
124 ctx context.Context

Callers

nothing calls this directly

Calls 1

OpenMethod · 0.95

Tested by

no test coverage detected