-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Content address method cleanup #288
Content address method cleanup #288
Conversation
This is the same rename as NixOS/nix@64e599e
This corresponds to NixOS/nix@b51e161 and part of NixOS/nix@ed26b18
Now contains #291; very nice! |
ContentAddressMethod_Text -> | ||
case hashAlgo of | ||
HashAlgo_SHA256 -> makeTextPath storeDir h $ references_others refs | ||
_ -> error "unsupported" -- TODO do better; maybe we'll just remove this restriction too? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe should make this better :)
@@ -1,17 +1,11 @@ | |||
-- | TODO rename module |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Split into RepairMode.hs
and PathFilter.hs
? Not sure if worth just for these two.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would just revisit such things later :)
I am not even sure PathFilter
needs to go in core
.
Doing some refactors I did in upstream Nix; each commit here links the commits there.