aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/hash.hh
AgeCommit message (Expand)Author
2024-08-08refactor: make HashType and Base enum classes for type safetyJade Lovelace
2024-07-06libutil: turn HashModuloSink into a free functioneldritch horrors
2024-05-29util.{hh,cc}: Split out file-system.{hh,cc}Tom Hubrecht
2023-04-07Rename and protect `BufferedSink::write`Théophane Hufschmitt
2023-03-31Ensure all headers have `#pragma once` and are in API docsJohn Ericson
2023-03-31Extend internal API docs, part 2John Ericson
2023-03-29return string_view from printHashType rather than stringVaci Koblizek
2022-04-07don't assume that rev is a SHA1 hashKasper Gałkowski
2022-02-25Remove std::string alias (for real this time)Eelco Dolstra
2022-01-27return string_views from forceString*pennae
2020-12-02Sink: Use std::string_viewEelco Dolstra
2020-08-05Remove Hash::operator bool ()Carlo Nucera
2020-08-05Add Hash::dummy to signal default valueCarlo Nucera
2020-08-01Embelish documentation of new Hash functionsJohn Ericson
2020-08-01Convert to C-style commentsJohn Ericson
2020-07-30Merge branch 'master' of github.com:NixOS/nix into better-ca-parse-errorsCarlo Nucera
2020-07-30unsigned long long -> uint64_tEelco Dolstra
2020-07-16Merge branch 'hash-always-has-type' of github.com:obsidiansystems/nix into be...John Ericson
2020-07-16Merge remote-tracking branch 'upstream/master' into hash-always-has-typeJohn Ericson
2020-07-02Write the implementation for parseNonSRIUnprefixedCarlo Nucera
2020-07-02Rename fromSRI to parseSRI for constistencyCarlo Nucera
2020-07-02Get rid of the std::pairCarlo Nucera
2020-07-01Rename two hash constructors to proper functionsCarlo Nucera
2020-07-01Inline Hash::init()Carlo Nucera
2020-07-01Correct FIXMEs in libfetchersCarlo Nucera
2020-07-01Fixed build, we still have test errorsCarlo Nucera
2020-06-30WIP initial designCarlo Nucera
2020-06-29Merge remote-tracking branch 'upstream/master' into hash-always-has-typeJohn Ericson
2020-06-26Merge remote-tracking branch 'origin/master' into flakesEelco Dolstra
2020-06-25Fix empty std::optional dereference in writeDerivation()Eelco Dolstra
2020-06-19WIP: Make Hash always store a valid hash typeJohn Ericson
2020-06-18Revert the `enum struct` changeJohn Ericson
2020-06-18Merge branch 'enum-class' into no-hash-type-unknownJohn Ericson
2020-06-18Merge remote-tracking branch 'upstream/master' into enum-classJohn Ericson
2020-06-17Merge remote-tracking branch 'origin/master' into flakesEelco Dolstra
2020-06-12Use `std::string_view` in a few more placesJohn Ericson
2020-06-12Merge pull request #3674 from matthewbauer/allow-empty-hash2Eelco Dolstra
2020-06-12Add newHashAllowEmpty helper functionMatthew Bauer
2020-06-03libutils/hash: remove default encodingzimbatm
2020-06-02Remove `HashType::Unknown`John Ericson
2020-05-10nix: Implement basic bash completionEelco Dolstra
2020-03-29Use `enum struct` and drop prefixesJohn Ericson
2020-03-24Misc changes from the flakes branchEelco Dolstra
2019-10-21Merge remote-tracking branch 'origin/master' into flakesEelco Dolstra
2019-10-21Allow content-addressable paths to have referencesEelco Dolstra
2019-04-19Clean up exportGit argument handlingEelco Dolstra
2018-12-13Support SRI hashesEelco Dolstra
2017-10-30builtins.fetchgit: Support importing a working treeEelco Dolstra
2017-07-30Replace Unicode quotes in user-facing strings by ASCIIJörg Thalheim
2017-07-04Support base-64 hashesEelco Dolstra