code: func (ccpack *SignedCDSPackage) InitFromPath(ccname string, ccversion string, path string) ([]byte, *pb.ChaincodeDeploymentSpec, error) {
  	//incase ccpack is reused
  	ccpack.reset()
  
  	buf, err := GetChaincodePackageFromPath(ccname, ccversion, path)
  	if err != nil {
  		return nil, nil, err
  	}
  
  	if _, err = ccpack.InitFromBuffer(buf); err != nil {
  		return nil, nil, err
  	}
  
  	return ccpack.buf, ccpack.depSpec, nil
  }
docs: //InitFromPath returns the chaincode and its package from the file system