Versions in this module Expand all Collapse all v1 v1.2.0 Nov 2, 2026 Changes in this version + func Archive(ctx context.Context, discovery Discovery, options Options, archivePath string) (int, error) + func DumpKeys(ctx context.Context, discovery Discovery, options Options) (masterkey.Dump, error) + func Report(writer io.Writer, summary Summary) error + type Discovery struct + Dirs []browser.UserDataDir + Failed []Result + func Discover(options Options) Discovery + func RestoreDiscovery(root string, dump masterkey.Dump, options Options) (Discovery, map[browser.UserDataDirID]masterkey.Set, error) + type Extraction struct + Category category.Category + Profile string + UserDataDirID browser.UserDataDirID + type Flags struct + Browser string + Categories string + Dir string + Format string + KeychainPassword string + KeychainPasswordStdin bool + ProfilePath string + Zip bool + type Options struct + Browser string + Categories []category.Category + Dir string + Format export.Format + Home string + KeychainPassword func(ctx context.Context) (string, error) + Keys map[browser.UserDataDirID]masterkey.Set + ProfilePath string + Zip bool + func ListOptions() (Options, error) + func Validate(flags Flags) (Options, error) + func ValidateArchive(flags Flags) (Options, error) + func ValidateKeys(flags Flags) (Options, error) + func ValidateRestore(flags RestoreFlags) (Options, masterkey.Dump, error) + type Outcome int + const OutcomeAbsent + const OutcomeError + const OutcomeOK + const OutcomePartial + const OutcomeUnsupported + func (o Outcome) String() string + type Plan struct + Dirs []browser.UserDataDir + Extractions []Extraction + Files []snapshot.File + Skipped []Result + func NewPlan(discovery Discovery, options Options) Plan + type RestoreFlags struct + Browser string + Categories string + DataDir string + DataZip string + Dir string + Format string + Keys string + Zip bool + type Result struct + Count int + Err error + Failed int + Outcome Outcome + type Summary struct + Results []Result + func Count(ctx context.Context, plan Plan, options Options) (Summary, error) + func Execute(ctx context.Context, plan Plan, options Options) (Summary, error)