code: def get_tree_size(path):
      
      size = 0
      try:
          for entry in scandir.scandir(path):
              if entry.is_symlink():
                  pass
              elif entry.is_dir():
                  size += get_tree_size(os.path.join(path, entry.name))
              else:
                  size += entry.stat().st_size
      except OSError:
          pass
      return size
docs: Return total size of all files in directory tree at path.