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

Method IsEmpty

utils/reader.go:384–386  ·  view source on GitHub ↗

IsEmpty returns true when all of the data has been read.

()

Source from the content-addressed store, hash-verified

382
383// IsEmpty returns true when all of the data has been read.
384func (reader *Reader) IsEmpty() bool {
385 return reader.offset >= uint64(len(reader.buf))
386}
387
388// RemainingBytes returns the number of bytes that have not yet been read.
389func (reader *Reader) RemainingBytes() uint64 {

Callers 15

RemainingBytesMethod · 0.95
DeserializeTriggerFunction · 0.95
DeserializeFunctionFunction · 0.95
DeserializeConflictFunction · 0.95
DeserializeExtensionFunction · 0.95
DeserializeSequenceFunction · 0.95
DeserializeProcedureFunction · 0.95
DeserializeCastFunction · 0.95
DeserializeTypeFunction · 0.95
DeserializeTrackersFunction · 0.95
ReadMessagesMethod · 0.95
GetTableHashMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected