MCPcopy Create free account
hub / github.com/KDE/kdevelop / read

Method read

kdevplatform/serialization/itemrepository.h:2538–2544  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2536struct LockedItemRepository {
2537 template<typename Context, typename Op>
2538 static auto read(Op&& op)
2539 {
2540 const auto& repo = ItemRepositoryFor<Context>::repo();
2541
2542 QMutexLocker lock(repo.mutex());
2543 return op(repo);
2544 }
2545
2546 template<typename Context, typename Op>
2547 static auto write(Op&& op)

Callers 2

readValuesFunction · 0.45
initializeBucketMethod · 0.45

Calls 1

mutexMethod · 0.45

Tested by

no test coverage detected