mirror of
https://github.com/NixOS/nix.git
synced 2025-11-12 13:36:02 +01:00
refactor(libstore/find-cycles): remove unused refLength constant
After refactoring to use `RefScanSink`, we no longer manually search for hashes in buffers, so the `refLength` constant (hash length) is unused. `RefScanSink` handles this internally.
This commit is contained in:
parent
591851cd5e
commit
22e74e5f1e
1 changed files with 0 additions and 3 deletions
|
|
@ -12,9 +12,6 @@
|
|||
|
||||
namespace nix {
|
||||
|
||||
// Hash length in characters (32 for base32-encoded sha256)
|
||||
static constexpr size_t refLength = StorePath::HashLen;
|
||||
|
||||
CycleEdgeScanSink::CycleEdgeScanSink(StringSet && hashes, std::string storeDir)
|
||||
: RefScanSink(std::move(hashes))
|
||||
, storeDir(std::move(storeDir))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue