$file->hash()

Returns an md5 hash for the root of the file.

Example

<?php echo $page->file('myfile.pdf')->hash() ?>