code: func (*CCInfoFSImpl) GetChaincodeFromPath(ccname string, ccversion string, path string) (CCPackage, error) {
  	// try raw CDS
  	cccdspack := &CDSPackage{}
  	_, _, err := cccdspack.InitFromPath(ccname, ccversion, path)
  	if err != nil {
  		// try signed CDS
  		ccscdspack := &SignedCDSPackage{}
  		_, _, err = ccscdspack.InitFromPath(ccname, ccversion, path)
  		if err != nil {
  			return nil, err
  		}
  		return ccscdspack, nil
  	}
  	return cccdspack, nil
  }
docs: // GetChaincodeFromPath this is a wrapper for hiding package implementation.