mirror of
https://github.com/NixOS/nix
synced 2025-07-06 21:41:48 +02:00
Merge pull request #11196 from NixOS/rename-lock-read
Rename SyncBase::read() -> readLock()
This commit is contained in:
commit
3c0963487e
3 changed files with 3 additions and 3 deletions
|
@ -920,7 +920,7 @@ StorePathSet Store::exportReferences(const StorePathSet & storePaths, const Stor
|
|||
const Store::Stats & Store::getStats()
|
||||
{
|
||||
{
|
||||
auto state_(state.read());
|
||||
auto state_(state.readLock());
|
||||
stats.pathInfoCacheSize = state_->pathInfoCache.size();
|
||||
}
|
||||
return stats;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue