code: func (reg *registry) Remove(ctx context.Context, name reference.Named) error {
  	root, err := pathFor(repositoriesRootPathSpec{})
  	if err != nil {
  		return err
  	}
  	repoDir := path.Join(root, name.Name())
  	return reg.driver.Delete(ctx, repoDir)
  }
docs: // Remove removes a repository from storage