{"modulePath":"https-1xa.pages.dev/hyperledger/fabric","version":"v2.1.1+incompatible","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package dataformat\n\n## Constants\n\n```go\nconst (\n\t// Version1x specifies the data format in version 1.x\n\tVersion1x = \"\"\n\n\t// Version20 specifies the data format in version 2.0\n\tVersion20 = \"2.0\"\n)\n```\n\n## Functions\n\n```go\nfunc IsVersionMismatch(err error) bool\n```\nIsVersionMismatch returns true if err is an ErrVersionMismatch\n\n## Types\n\n```go\ntype ErrVersionMismatch struct {\n\tDBInfo          string\n\tExpectedVersion string\n\tVersion         string\n}\n```\nErrVersionMismatch is returned if it is detected that the version of the format recorded in the internal database is different from what is specified in the \\`Conf\\` that is used for opening the db\n\n```go\nfunc (e *ErrVersionMismatch) Error() string\n```\n\n","path":"https-1xa.pages.dev/hyperledger/fabric/common/ledger/dataformat","name":"dataformat","synopsis":"","isRedistributable":true}
