# Functions

ValidateMetadataFile checks that metadata files are valid according to the validation rules of the file's directory.

# Constants

AllowedCharsCollectionName captures the regex pattern for a valid collection name.

# Structs

InvalidIndexContentError is returned for metadata files with invalid content.
TargzMetadataProvider provides Metadata from chaincode packaged in Targz format(go, java and node platforms).
UnhandledDirectoryError is returned for metadata files in unhandled directories.

# Interfaces

MetadataProvider is implemented by each platform in a platform specific manner.It can process metadata stored in ChaincodeDeploymentSpec in different formats.The common format is targz.