docstr: Removes directories from our lists of found differences.
docstr_tok: ["Removes","directories","from","our","lists","of","found","differences","."]
code: def ignore_directories(self):
      """Removes directories from our lists of found differences."""
      not_dir = lambda x: x[-1] != "/"
      self.added_files = filter(not_dir, self.added_files)
      self.removed_files = filter(not_dir, self.removed_files)
      self.modified_files = filter(not_dir, self.modified_files)
      self.touched_files = filter(not_dir, self.touched_files)
  
imports: import os
  import os.path
  import stat
  import sys
label_desc: Use image node_id 3 for calling the TreeDifference obj's underlying member method code with example usage: obj.ignore_directories() without return types