-
Notifications
You must be signed in to change notification settings - Fork 8.9k
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
Showing
2 changed files
with
14 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters