pyspc.binutils.get_oldest_file

Find and return the oldest file of input file names. Only one wins tie. Values based on time distance from present. Use of _invert inverts logic to make this a youngest routine, to be used more clearly via get_youngest_file.

Functions

get_oldest_file(files[, _invert])

Find and return the oldest file of input file names.

pyspc.binutils.get_oldest_file.get_oldest_file(files, _invert=False)[source]

Find and return the oldest file of input file names. Only one wins tie. Values based on time distance from present. Use of _invert inverts logic to make this a youngest routine, to be used more clearly via get_youngest_file.