mirror of
https://github.com/moonD4rk/HackBrowserData.git
synced 2026-12-06 05:53:25 +01:00
docs: trim code comments to the why (#676)
Comments that restated names or narrated the code are gone, and multi-line ones are cut to a line of why. Only comments change: each edited Go file has the same token stream as before. winapi and abe come later.
This commit is contained in:
1 parent
4e98ba7884
commit
0ed920f846
130 files changed
+201
-869
No files matched your search
@@ -69,8 +69,6 @@ func runRestore(ctx context.Context, stderr io.Writer, f app.RestoreFlags) error
|
||||
return err
|
||||
}
|
||||
|
||||
// openRestoreData returns the snapshot directory restore reads from: --data-dir in place, or --data-zip extracted
|
||||
// into a temporary one.
|
||||
func openRestoreData(dataDir, dataZip string) (*snapshot.Dir, error) {
|
||||
if dataDir != "" {
|
||||
return snapshot.Open(dataDir), nil
|
||||
|
||||
Reference in new issue
Block a user