Martin Lisowski commented on commit 5864273e at Martin Lisowski / essence

Martin Lisowski
2025-01-07T15:43:01Z

On MSYS2/Windows shasum will print an asterisk in front of file names, like so

2c5622dbbf2552e0e66424a302bde0918e09379afce47eef1a21ef0198990fed *util/test.txt

To bypass that and remain compatible with Linux, we compare only the start of the returned string to the checksum and end of the string to the file name.