mirror of
https://github.com/moonD4rk/HackBrowserData.git
synced 2026-12-04 05:43:27 +01:00
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:
1 parent
2e7ee3c69f
commit
a7741eaab2
40 files changed
+242
-256
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user