From 42cea1e7c6d1ea0658e6b4d2a1f12f98b9c0dd22 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Wed, 3 Jun 2026 15:51:43 +0900 Subject: internal/pkg: streaming archive reader/writer This is much more robust and efficient than the simple buffering implementation for larger files. Allocations happen almost exclusively in WalkDir. Signed-off-by: Ophestra --- cmd/mbf/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd') diff --git a/cmd/mbf/main.go b/cmd/mbf/main.go index 4c7030e2..86496f98 100644 --- a/cmd/mbf/main.go +++ b/cmd/mbf/main.go @@ -595,7 +595,7 @@ func main() { 0400, ); err != nil { return err - } else if _, err = pkg.Flatten( + } else if err = pkg.Write( os.DirFS(pathname.String()), ".", f, -- cgit v1.3.1