MCPcopy Create free account
hub / github.com/DNAProject/DNA / NewExportBlockMetadata

Function NewExportBlockMetadata

cmd/utils/export.go:50–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48}
49
50func NewExportBlockMetadata() *ExportBlockMetadata {
51 return &ExportBlockMetadata{
52 Version: EXPORT_BLOCK_METADATA_VERSION,
53 CompressType: DEFAULT_COMPRESS_TYPE,
54 }
55}
56
57func (this *ExportBlockMetadata) Serialize(w io.Writer) error {
58 metadata := make([]byte, EXPORT_BLOCK_METADATA_LEN, EXPORT_BLOCK_METADATA_LEN)

Callers 2

exportBlocksFunction · 0.92
importBlocksFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected