MDL-59961 core_files: make content hash validation reusable
authorMark Nielsen <mark@moodlerooms.com>
Mon, 28 Aug 2017 18:15:12 +0000 (11:15 -0700)
committerMark Nielsen <mark@moodlerooms.com>
Mon, 28 Aug 2017 18:15:12 +0000 (11:15 -0700)
commit9eb1a2c31a6226c16afedb5a59c7c4463f50e312
treeea380875673cc5ba2b944550f6d1603dd0b012db
parent9eb3c173ae80fd2e6e96d2bff54211401e52c2e3
MDL-59961 core_files: make content hash validation reusable

Other file systems could make use of this code as they
all need to validate the content has and be able to read
the file from disk.
lib/filestorage/file_system.php
lib/filestorage/file_system_filedir.php