code: func (p *nfsProvisioner) createQuota(directory string, capacity resource.Quantity) (string, uint16, error) {
  	path := path.Join(p.exportDir, directory)
  
  	limit := strconv.FormatInt(capacity.Value(), 10)
  
  	block, projectID, err := p.quotaer.AddProject(path, limit)
  	if err != nil {
  		return "", 0, fmt.Errorf("error adding project for path %s: %v", path, err)
  	}
  
  	err = p.quotaer.SetQuota(projectID, path, limit)
  	if err != nil {
  		p.quotaer.RemoveProject(block, projectID)
  		return "", 0, fmt.Errorf("error setting quota for path %s: %v", path, err)
  	}
  
  	return block, projectID, nil
  }
docs: // createQuota creates a quota for the directory by adding a project to
  // represent the directory and setting a quota on it