MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / operator<

Method operator<

src/processor/operator/persistent/reader/copy_from_error.cpp:68–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66 mustThrow(mustThrow) {}
67
68bool CopyFromFileError::operator<(const CopyFromFileError& o) const {
69 if (warningData.getBlockIdx() == o.warningData.getBlockIdx()) {
70 return warningData.getOffsetInBlock() < o.warningData.getOffsetInBlock();
71 }
72 return warningData.getBlockIdx() < o.warningData.getBlockIdx();
73}
74
75} // namespace processor
76} // namespace lbug

Callers

nothing calls this directly

Calls 2

getBlockIdxMethod · 0.80
getOffsetInBlockMethod · 0.80

Tested by

no test coverage detected