refactor: name dirs by what they hold, trim exports (#692)

Bare dir now always means a user data dir, so the snapshot root, the export listing, and the
keys.json kind get their own words; names used only inside their package are no longer exported.
This commit is contained in:
Roger authored and GitHub committed 2026-11-10 17:00:43 +08:00
1 parent 2e7ee3c69f
commit a7741eaab2
40 files changed
+242 -256

No files matched your search

+1 -1
View File
@@ -24,7 +24,7 @@ func newArchiveCommand() *cobra.Command {
return err
}
discovery := app.Discover(options.Target)
if foundNothing(command.ErrOrStderr(), discovery, "no browsers found") {
if warnIfNothingFound(command.ErrOrStderr(), discovery, "no browsers found") {
return nil
}
fileCount, err := app.Archive(command.Context(), discovery, options.Categories, outputPath)