mirror of
https://github.com/NixOS/nix.git
synced 2025-11-12 05:26: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 currentFilePath;
|
||||||
std::string storeDir;
|
std::string storeDir;
|
||||||
|
StoreCycleEdgeVec edges;
|
||||||
|
|
||||||
// Track hashes we've already recorded for current file
|
// Track hashes we've already recorded for current file
|
||||||
// to avoid duplicates
|
// to avoid duplicates
|
||||||
StringSet recordedForCurrentFile;
|
StringSet recordedForCurrentFile;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
StoreCycleEdgeVec edges;
|
|
||||||
|
|
||||||
CycleEdgeScanSink(StringSet && hashes, std::string storeDir);
|
CycleEdgeScanSink(StringSet && hashes, std::string storeDir);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue