mirror of
https://github.com/moonD4rk/HackBrowserData.git
synced 2026-07-04 21:37:47 +02:00
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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user