BuildCollectionKVSKey constructs the collection config key for a given chaincode name
(ccname string)
| 143 | |
| 144 | // BuildCollectionKVSKey constructs the collection config key for a given chaincode name |
| 145 | func BuildCollectionKVSKey(ccname string) string { |
| 146 | return ccname + collectionSeparator + collectionSuffix |
| 147 | } |
| 148 | |
| 149 | // IsCollectionConfigKey detects if a key is a collection key |
| 150 | func IsCollectionConfigKey(key string) bool { |
no outgoing calls