MCPcopy Create free account
hub / github.com/dolthub/doltgresql / Write

Method Write

core/sequences/collection_test.go:129–137  ·  view source on GitHub ↗
(ctx context.Context, nd *tree.Node)

Source from the content-addressed store, hash-verified

127}
128
129func (f *countingFailNodeStore) Write(ctx context.Context, nd *tree.Node) (hash.Hash, error) {
130 if f.budget >= 0 {
131 f.writes++
132 if f.writes > f.budget {
133 return hash.Hash{}, errors.New("induced node store failure")
134 }
135 }
136 return f.NodeStore.Write(ctx, nd)
137}

Callers 15

WriteUint16Method · 0.45
WriteUint32Method · 0.45
WriteUint64Method · 0.45
WriteBytesMethod · 0.45
Uint16Method · 0.45
Uint32Method · 0.45
Uint64Method · 0.45
VariableIntMethod · 0.45
VariableUintMethod · 0.45
Uint8SliceMethod · 0.45
EncodeEscapedCharFunction · 0.45
NewEncoderMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected