diff options
author | Patrick Spek <p.spek@tyil.nl> | 2023-03-26 12:08:00 +0200 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2023-03-26 12:08:00 +0200 |
commit | e22fd25c2028e1a3c030829de02954717570a030 (patch) | |
tree | c3237c56d429f9b87f5561229470c4f0e756b87a /CHANGELOG.md | |
parent | 7388fac119ec3e5d192e85204ac5a7ad540bf832 (diff) |
Redo dir_hash with new file_hash functionality
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 0af0434..0e752aa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -28,6 +28,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 GNU+Linux distributions. - The `$BASHTARD_PLATFORM` variable now contains an additional entry, `init`, to allow for handling different init systems on GNU+Linux in a cleaner fashion. +- A `file_hash` utility function has been added. It currently uses `md5`, but is + written in such a fashion that this can easily be updated for the future. Its + intent is to encapsulate differences between naming and usage of hashing + utilities found on different systems. - A `dir_hash` utility function has been added, which will give you a hash based on the file contents of a directory. This function will find files recursively, calculate a hash for each of them, and then calculate a hash |