MCPcopy
hub / github.com/cayleygraph/cayley / String

Method String

graph/kv/quadstore_test.go:91–101  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

89}
90
91func (s Ops) String() string {
92 buf := bytes.NewBuffer(nil)
93 for _, op := range s {
94 se := ""
95 if op.err != nil {
96 se = " (" + op.err.Error() + ")"
97 }
98 fmt.Fprintf(buf, "%v: %q = %x%s\n", op.typ, op.key, op.val, se)
99 }
100 return buf.String()
101}
102
103func TestApplyDeltas(t *testing.T) {
104 kdb := btree.New()

Callers

nothing calls this directly

Calls 2

StringMethod · 0.65
ErrorMethod · 0.45

Tested by

no test coverage detected