Module subplotlib::steplibrary::files::has_remembered_metadata
source · [−]Expand description
Check if a given file’s metadata matches our memory of it
then file {filename} has same metadata as before
This confirms that the metadata we remembered for the given filename matches. Specifically this checks:
- Are the permissions the same
- Are the modification times the same
- Is the file’s length the same
- Is the file’s type (file/dir) the same