-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
primops: add builtins.convertHash #7708
Commits on Oct 18, 2023
-
Remove redundant "else" after "return". Use std::nullopt to increase readability.
Configuration menu - View commit details
-
Copy full SHA for e9ddf0b - Browse repository at this point
Copy the full SHA e9ddf0bView commit details -
Elaborate the "unknown hash algorithm" error
List the allowed hash formats
Configuration menu - View commit details
-
Copy full SHA for aff177d - Browse repository at this point
Copy the full SHA aff177dView commit details -
treewide: Rename hashBase to hashFormat
hashBase is ambiguous, since it's not about the digital bases, but about the format of hashes. Base16, Base32 and Base64 are all character maps for binary encoding. Rename the enum Base to HashFormat. Rename variables of type HashFormat from [hash]Base to hashFormat, including CmdHashBase::hashFormat and CmdToBase::hashFormat.
Configuration menu - View commit details
-
Copy full SHA for 838c70f - Browse repository at this point
Copy the full SHA 838c70fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5043e6c - Browse repository at this point
Copy the full SHA 5043e6cView commit details -
treewide: Reference HashFormat members with scope
Base* -> HashFormat::Base*
Configuration menu - View commit details
-
Copy full SHA for e026f3e - Browse repository at this point
Copy the full SHA e026f3eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 231b0fc - Browse repository at this point
Copy the full SHA 231b0fcView commit details -
Add helper function parseHashFormat[Opt] printHashFormat
Add hash format analogy of parseHashTypeOpt, parseHashType, and printHashType. Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
Configuration menu - View commit details
-
Copy full SHA for 6b47635 - Browse repository at this point
Copy the full SHA 6b47635View commit details -
primops: add builtins.convertHash
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
Configuration menu - View commit details
-
Copy full SHA for 5088e65 - Browse repository at this point
Copy the full SHA 5088e65View commit details