rsgalloway / distman

super simple file distribution system
1 stars 0 forks source link

hash target contents #2

Open rsgalloway opened 3 weeks ago

rsgalloway commented 3 weeks ago

it might be useful to hash target file contents to determine if they have changed or not, e.g. using xxhash.

currently, if I make a change and dist, it will version up. if I undo the change and dist, it will also version up. it might be useful to compare hashes and rollback to a matching hash.

it should only hash the files that get disted, excluding any ignorable files.