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
@@ -46,7 +46,7 @@ func runDump(ctx context.Context, stderr io.Writer, flags app.DumpFlags, keychai
|
||||
return err
|
||||
}
|
||||
discovery := app.Discover(options.Target)
|
||||
if foundNothing(stderr, discovery, "no browsers found") {
|
||||
if warnIfNothingFound(stderr, discovery, "no browsers found") {
|
||||
return nil
|
||||
}
|
||||
summary, err := app.Execute(ctx, discovery, options.Categories, options.Output, options.Keychain)
|
||||
|
||||
Reference in new issue
Block a user