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
2026-06-07 15:56:56 +08:00
parent 8851ef63ba
commit 94e13cc4fc
3 changed files with 8 additions and 8 deletions
+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
}