Purls Controller show returns the md5s of shelved files. Currently, it just returns the md5s extracted from the cocina stored in the DB.
It should be changed so that:
If an object is versioned, it returns the md5s of all the files from the contents directory (using the filename).
If an object is unversioned, return the md5s from the cocina stored in the DB, making sure that each file exists. If an expected file doesn't exist, HB alert and omit from returned MD5s.
Purls Controller show returns the md5s of shelved files. Currently, it just returns the md5s extracted from the cocina stored in the DB.
It should be changed so that: