mirror of
https://github.com/NixOS/nix.git
synced 2025-11-11 21:16:02 +01:00
refactor(libstore/find-cycles): make edges member private
Moved the `edges` member variable from public to private section for better encapsulation. Access is provided through the `getEdges()` method.
This commit is contained in:
parent
5eebcf46fe
commit
2e9ea55795
1 changed files with 1 additions and 1 deletions
|
|
@ -36,13 +36,13 @@ class CycleEdgeScanSink : public RefScanSink
|
|||
{
|
||||
std::string currentFilePath;
|
||||
std::string storeDir;
|
||||
StoreCycleEdgeVec edges;
|
||||
|
||||
// Track hashes we've already recorded for current file
|
||||
// to avoid duplicates
|
||||
StringSet recordedForCurrentFile;
|
||||
|
||||
public:
|
||||
StoreCycleEdgeVec edges;
|
||||
|
||||
CycleEdgeScanSink(StringSet && hashes, std::string storeDir);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue