code: def _reqs_diff(self):
      if not hasattr(self, "_old_reqs"):
          return
      with codecs.open(self._save_path, "rb", "utf-8") as f:
          new_reqs = f.readlines()
      is_diff, diffs = lines_diff(self._old_reqs, new_reqs)
      msg = "Requirements file has been covered, "
      if is_diff:
          msg += "there is the difference:"
          print("{0}\n{1}".format(msg, "".join(diffs)), end="")
      else:
          msg += "no difference."
          print(msg)
  
file_path: clearml/clearml/utilities/pigar/__main__.py
imports: from __future__ import print_function, division, absolute_import
  import os
  import codecs
  import six
  from .reqs import project_import_modules, is_std_or_local_lib, is_base_module
  from .utils import lines_diff
  from .log import logger
  from .modules import ReqsModules
label_desc: Use image node_id 10 for calling the GenerateReqs obj's underlying member method code with example usage: obj._reqs_diff() without return types