Add newHashAllowEmpty helper function
This replaces the copy&paste with a helper function in hash.hh.
Showing
- src/libexpr/primops.cc 4 additions, 14 deletionssrc/libexpr/primops.cc
- src/libexpr/primops/fetchTree.cc 3 additions, 8 deletionssrc/libexpr/primops/fetchTree.cc
- src/libfetchers/fetchers.cc 3 additions, 8 deletionssrc/libfetchers/fetchers.cc
- src/libfetchers/tarball.cc 2 additions, 8 deletionssrc/libfetchers/tarball.cc
- src/libutil/hash.cc 10 additions, 0 deletionssrc/libutil/hash.cc
- src/libutil/hash.hh 2 additions, 0 deletionssrc/libutil/hash.hh
Loading
Please register or sign in to comment