code: def get_all_cached_commit_times(root_folder):
      
      result = []
      location = cache_location(root_folder)
  
      if os.path.exists(location):
          try:
              result = json.load(open(location))
          except (TypeError, ValueError) as error:
              log.warning("Failed to open gitmit cached commit_times\tlocation=%s\terror=%s", location, error)
          else:
              if type(result) is not list or not all(type(item) is dict for item in result):
                  log.warning("Gitmit cached commit_times needs to be a list of dictionaries\tlocation=%s\tgot=%s", location, type(result))
                  result = []
  
      return result
docs: Find the gitmit cached commit_times and return them if they are the right shape.
  
      This means the file is a list of dictionaries.
  
      If they aren't, issue a warning and return an empty list, it is just a cache
      after all!