MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / getAPIdx

Method getAPIdx

src/storage/disk_array.cpp:398–400  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

396}
397
398page_idx_t DiskArrayInternal::getAPIdx(uint64_t idx) const {
399 return getAPIdxAndOffsetInAP(storageInfo, idx).pageIdx;
400}
401
402// [] operator to be used when building an InMemDiskArrayBuilder without transactional updates.
403// This changes the contents directly in memory and not on disk (nor on the wal)

Callers

nothing calls this directly

Calls 1

getAPIdxAndOffsetInAPFunction · 0.85

Tested by

no test coverage detected