MDL-65115 core_files: Add get_total_content_size() in stored_file class
authorMihail Geshoski <mihail@moodle.com>
Tue, 14 Jul 2020 07:11:10 +0000 (15:11 +0800)
committerJenkins <jenkins@worker08.test.in.moodle.com>
Tue, 8 Sep 2020 06:54:26 +0000 (08:54 +0200)
commit09a55f952e5b1246b48f24d7a09cac54a1211aab
tree0dd902197d7598590fefe0b7e50806f1aaff7718
parent303119ad5b213888ccf8605e30d1c90a6b8424d7
MDL-65115 core_files: Add get_total_content_size() in stored_file class

New function get_total_content_size() is introduced in the stored_file
class. The puprose of this function is to calculate and return the
total size (in bytes) of the content of an archive file.
lib/filestorage/stored_file.php