MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / out_of_date_one

Function out_of_date_one

lib/matplotlib/sphinxext/plot_directive.py:540–542  ·  view source on GitHub ↗
(original, derived_mtime)

Source from the content-addressed store, hash-verified

538 files_to_check = [original, *includes]
539
540 def out_of_date_one(original, derived_mtime):
541 return (os.path.exists(original) and
542 derived_mtime < os.stat(original).st_mtime)
543
544 derived_mtime = os.stat(derived).st_mtime
545 return any(out_of_date_one(f, derived_mtime) for f in files_to_check)

Callers 1

out_of_dateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…