refactor(archive): rename BuildArchive to WriteArchive

It writes a zip and returns a count; Build prefix clashed with
BuildDump, which constructs an in-memory value with no I/O.
This commit is contained in:
moonD4rk committed 2026-06-07 15:56:56 +08:00
1 parent 8851ef63ba
commit 94e13cc4fc
3 files changed
+8 -8

No files matched your search

+1 -1
View File
@@ -32,7 +32,7 @@ func archiveCmd() *cobra.Command {
if err != nil {
return err
}
n, err := browser.BuildArchive(browsers, categories, outputPath)
n, err := browser.WriteArchive(browsers, categories, outputPath)
if err != nil {
return err
}