code: func GetLocalMspConfigWithType(dir string, bccspConfig *factory.FactoryOpts, ID, mspType string) (*msp.MSPConfig, error) {
  	switch mspType {
  	case ProviderTypeToString(FABRIC):
  		return GetLocalMspConfig(dir, bccspConfig, ID)
  	case ProviderTypeToString(IDEMIX):
  		return GetIdemixMspConfig(dir, ID)
  	default:
  		return nil, errors.Errorf("unknown MSP type '%s'", mspType)
  	}
  }
docs: // GetLocalMspConfigWithType returns a local MSP
  // configuration for the MSP in the specified
  // directory, with the specified ID and type