code: def _handle_ls(self, path, node):
          ''' Handle every node received for an ls request'''
          entry = {}
  
          entry["file_type"] = self.FILETYPES[node.fileType]
          entry["permission"] = node.permission.perm
          entry["path"] = path
  
          for attribute in self.LISTING_ATTRIBUTES:
              entry[attribute] = node.__getattribute__(attribute)
  
          return entrf _handle_ls(self, path, node):
          ''' Handle every node received for an ls request'''
          entry = {}
  
          entry["file_type"] = self.FILETYPES[node.fileType]
          entry["permission"] = node.permission.perm
          entry["path"] = path
  
          for attribute in self.LISTING_ATTRIBUTES:
              entry[attribute] = node.__getattribute__(attribute)
  
          return entry
docs: Handle every node received for an ls request