5.1.1.4. get_recursive_mtime

mfutil.get_recursive_mtime(directory, ignores=[])[source]

Get the latest mtime recursivly on a directory.

Parameters
  • directory (string) – complete path of a directory to scan.

  • ignores (list of strings) – list of shell-style wildcards to define which filenames/dirnames to ignores (see fnmatch).

Returns

(int) timestamp of the latest mtime on the directory.