code: func (s *Store) LoadMetadata(path string) (name, version string, err error) {
  	metadataBytes, err := s.ReadWriter.ReadFile(path)
  	if err != nil {
  		err = errors.Wrapf(err, "error reading metadata at %s", path)
  		return "", "", err
  	}
  	ccMetadata := &ChaincodeMetadata{}
  	err = json.Unmarshal(metadataBytes, ccMetadata)
  	if err != nil {
  		err = errors.Wrapf(err, "error unmarshaling metadata at %s", path)
  		return "", "", err
  	}
  
  	return ccMetadata.Name, ccMetadata.Version, nil
  }
docs: // LoadMetadata loads the chaincode metadata stored at the specified path