Conversation
In 602a1f8 we decided it's now the responsibility of the caller to drain the source (using `EnsureRead`) if that's important. Usually it isn't, so we don't want to read a NAR we don't need.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughTwo related functions in ChangesSource drain optimization on valid paths
🎯 2 (Simple) | ⏱️ ~8 minutes
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 Infer (1.2.0)src/libstore/binary-cache-store.ccsrc/libstore/binary-cache-store.cc:1:10: fatal error: 'nix/util/archive.hh' file not found ... [truncated 1108 characters] ... /lib/clang/18/include" Comment |
Motivation
In 602a1f8 we decided it's now the responsibility of the caller to drain the source (using
EnsureRead) if that's important. Usually it isn't, so we don't want to read a NAR we don't need.Small cleanup taken from NixOS#15957.
Context
Summary by CodeRabbit