MCPcopy
hub / github.com/h2oai/wave / dump

Method dump

page.go:52–58  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50}
51
52func (p *Page) dump() *PageD {
53 c := make(map[string]CardD)
54 for k, v := range p.cards {
55 c[k] = v.dump()
56 }
57 return &PageD{c}
58}
59
60func (p *Page) marshal() []byte {
61 if cache := p.read(); cache != nil {

Callers 1

marshalMethod · 0.95

Calls 2

makeFunction · 0.85
dumpMethod · 0.65

Tested by

no test coverage detected