code: def edit(self, name, mark=False):
          
          self.api.edit(self, name, mark)
docs: Edit this file or directory
  
          :param str name: new name for this entry
          :param bool mark: whether to bookmark this entry