code: func NewReadOnlyConfig(workdir, gitdir string) *Configuration {
  	cfg := NewConfig(workdir, gitdir)
  	cfg.readOnly = true
  	return cfg
  
  }
docs: // NewReadOnlyConfig creates a new confguration that returns an error if an
  // attempt to write to the configuration is made.