code: func (c *scannedConfigs) setRevision(revision string) {
  	newRevPathMap := make(map[lookupKey]*config.Config, len(c.contentRevPathMap))
  	for k, v := range c.contentRevPathMap {
  		k.revision = revision
  		v.Revision = revision
  		newRevPathMap[k] = v
  	}
  	c.contentRevPathMap = newRevPathMap
  
  	newRevProject := make(map[lookupKey]*config.Project, len(c.contentRevProject))
  	for k, v := range c.contentRevProject {
  		k.revision = revision
  		newRevProject[k] = v
  	}
  	c.contentRevProject = newRevProject
  }
docs: // setRevision updates 'revision' fields of all objects owned by scannedConfigs.