about summary refs log tree commit diff
path: root/tests/lang/binary-data
AgeCommit message (Collapse)AuthorFilesLines
2019-05-03 Add builtins.hashFileDaniel Schaefer1-0/+0
For text files it is possible to do it like so: `builtins.hashString "sha256" (builtins.readFile /tmp/a)` but that doesn't work for binary files. With builtins.hashFile any kind of file can be conveniently hashed.