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

Interface Buf

card.go:24–33  ·  view source on GitHub ↗

Buf represents a generic dictionary-like buffer.

Source from the content-addressed store, hash-verified

22
23// Buf represents a generic dictionary-like buffer.
24type Buf interface {
25 // get cursor at key k
26 get(k string) (Cur, bool)
27 // overwrite all records
28 put(v any)
29 // set record at key k
30 set(k string, v any)
31 // dump contents
32 dump() BufD
33}
34
35func loadBuf(ns *Namespace, b BufD) Buf {
36 if b.C != nil {

Callers 8

dumpMethod · 0.65
dumpMethod · 0.65
fillFormCardBufsFunction · 0.65
_set_opFunction · 0.65
_dumpFunction · 0.65
_fill_data_buffersFunction · 0.65
dumpMethod · 0.65
dumpMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected