Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FAB-3617] Add ChaincodePackageExists function
Currently, we detect a chaincodepackage's existense by trying reading its content. This is heavy when the package is large (very often). This patchset add a ChaincodePackageExists function, to saves the effort by detecting the existence using os.stat(). Change-Id: I99b16eeaee2bb6e80087e08f3ad136d01c044857 Signed-off-by: Baohua Yang <baohyang@cn.ibm.com>
- Loading branch information