code: func (ts *Store) Remove(id string) error {
  	treeStoreKeyLock, err := lock.ExclusiveKeyLock(ts.lockDir, id)
  	if err != nil {
  		return errwrap.Wrap(errors.New("error locking tree store"), err)
  	}
  	defer treeStoreKeyLock.Close()
  
  	if err := ts.remove(id); err != nil {
  		return errwrap.Wrap(errors.New("error removing the tree store"), err)
  	}
  
  	return nil
  }
docs: // Remove removes the rendered image in tree store with the given id.