code: def annex_dates(repo, all_objects=True):
      """Get git-annex branch blobs containing dates.
  
      Parameters
      ----------
      repo : GitRepo
      all_objects : bool, optional
          Instead for searching the content of all blobs in the git-annex branch,
          search only the blobs that are in the tree of the tip of the git-annex
          branch.
  
      Returns
      -------
      A generator object that returns a tuple with the blob hexsha, a generator
      with the blob's timestamps, and an associated file name.
      """
      blob_fn = branch_blobs if all_objects else branch_blobs_in_tree
      for hexsha, content, fname in blob_fn(repo, "git-annex"):
          yield hexsha, search_annex_timestamps(content), fname
  
file_path: datalad/datalad/support/repodates.py
imports: import logging
  import operator
  import re
  import time
  from datalad.log import log_progress
  from datalad.support.exceptions import CommandError
  from datalad.support.gitrepo import GitRepo
label_desc: Use image node_id 5 for calling a global function with example usage: annex_dates(repo, all_objects) without return types