MCPcopy Create free account
hub / github.com/despiteallobjections/amigo / sync

Method sync

types/reader.go:19–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17}
18
19func (r *reader) sync() { assert(r.buf.ReadAny() == nil) }
20
21func (r *reader) bool() bool { return r.buf.ReadAny().(bool) }
22func (r *reader) int() int { return r.buf.ReadAny().(int) }

Callers 3

addLocalMethod · 0.95
labelledBlockMethod · 0.95
receiverMethod · 0.95

Calls 2

ReadAnyMethod · 0.80
assertFunction · 0.70

Tested by

no test coverage detected