MCPcopy Create free account
hub / github.com/andysworkshop/stm32plus / flush

Method flush

lib/src/device/BlockDeviceOutputStream.cpp:167–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165 */
166
167 bool BlockDeviceOutputStream::flush() {
168
169 // write out if there is something to write
170
171 if(_indexInBlock>0)
172 return _device.writeBlock(_block,_blockIndex);
173
174 return true;
175 }
176}

Callers

nothing calls this directly

Calls 1

writeBlockMethod · 0.45

Tested by

no test coverage detected