Search Apps Documentation Source Content File Folder Download Copy Actions Download State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

v0 state

Back to all declarations

Record

type

Record is v0's shape. v1 changes it, which is the whole reason for a new version: a stored-layout change is never done in place.

Value

v0.Record

Get

func(key string) *v0.Record

Get returns a record or nil. Non-crossing: v1 reads through it while migrating, and gnoweb can call it without a transaction.

Open
OID
0a11ee…6172:8
Get details

Inspect func

Size

func() int

Size is how many records still live here. It never shrinks: lazy migration COPIES forward, it does not move, so v0 keeps paying for every record it ever held.

Open
OID
0a11ee…6172:9
Size details

Inspect func
Record : type =v0.Record
records : *v0.Tree Inspect
init.2 : func() Inspect
Get : func(key string) *v0.Record Inspect
Size : func() int Inspect
Render : func(string) string Inspect