From 78afc844905d31a11504bff6276a002e25b64ec1 Mon Sep 17 00:00:00 2001 From: anjor Date: Wed, 3 Jul 2024 12:46:37 +0100 Subject: [PATCH] latest --- cmd-car-split.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cmd-car-split.go b/cmd-car-split.go index 3560d3e4..3cabf187 100644 --- a/cmd-car-split.go +++ b/cmd-car-split.go @@ -126,6 +126,9 @@ func newCmd_SplitCar() *cli.Command { defer fileMutex.Unlock() if currentFile == nil || currentFileSize+int64(len(data)) > maxFileSize { + + // To do: Construct and write the SubSet node + if err := createNewFile(); err != nil { return err } @@ -185,7 +188,7 @@ func newCmd_SplitCar() *cli.Command { klog.Exitf("error while accumulating objects: %w", err) } - // To do: Construct and write the SubSet node + // To do: construct and write the epoch node to the last file return nil },