Method: OcflTools::OcflValidator#verify_version
- Defined in:
- lib/ocfl_tools/ocfl_validator.rb
#verify_version(version) ⇒ OcflTools::OcflResults
Different from verify_directory. Verify_version is all versions of the object, up to and including this one. Verify_directory is just check the files and checksums inside that particular version directory. Verify_version(@head) is the canonical way to check an entire object?
652 653 654 655 656 657 658 659 660 |
# File 'lib/ocfl_tools/ocfl_validator.rb', line 652 def verify_version(version) # calls verify_directory for 1...n versions. count = 1 # start at the bottom until count > version # count to the top verify_directory(count) count += 1 end @my_results end |