code: def purge(path: str, pattern: str) -> None:
      
      for f in find(pattern, path):
          log.info("Deleting {}", f)
          os.remove(f)
docs: Deletes all files in ``path`` matching ``pattern`` (via
      :func:`fnmatch.fnmatch`).