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

Struct snap

main.go:130–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128}
129
130func snapshot(data interface{}) (rafthub.Snapshot, error) {
131 s, err := storageDriver().NewSnapshot()
132 if err != nil {
133 return nil, err
134 }
135 return &snap{s: s}, nil

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected