MCPcopy Create free account
hub / github.com/BaseXdb/basex / more

Method more

basex-api/src/main/ruby/BaseXClient.rb:139–151  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

137 end
138
139 def more()
140 if @cache.length == 0
141 @session.write(4.chr)
142 @session.send(@id)
143 while @session.read > 0.chr
144 @cache << @session.receive
145 end
146 if !@session.ok
147 raise @session.receive
148 end
149 end
150 return @pos < @cache.length
151 end
152
153 def next
154 if more()

Callers

nothing calls this directly

Calls 6

readMethod · 0.65
okMethod · 0.65
lengthMethod · 0.45
writeMethod · 0.45
sendMethod · 0.45
receiveMethod · 0.45

Tested by

no test coverage detected