reflectivity / file_format

2 stars 4 forks source link

Add field to store file hash #15

Open jokasimr opened 9 months ago

jokasimr commented 9 months ago

It would be good for reproducibility if the File class had an optional file hash field. The file hash field could for example be a string formatted like md5:<hash-value> or sha1:<hash-value>.

Advantages:

bmaranville commented 9 months ago

I think we discussed this at one of our meetings, but I'm not sure. I can't think of a good reason not to include it. Would have to support sha256 etc. as well...