Documentation
¶
Index ¶
- type Browser
- func (b *Browser) BrowserName() string
- func (b *Browser) CountEntries(categories []types.Category) (map[types.Category]int, error)
- func (b *Browser) Extract(categories []types.Category) (*types.BrowserData, error)
- func (b *Browser) ProfileDir() string
- func (b *Browser) ProfileName() string
- func (b *Browser) SetKeychainPassword(password string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Browser ¶
type Browser struct {
// contains filtered or unexported fields
}
Browser is one Safari profile's data ready for extraction. Passwords come from the shared macOS Keychain; everything else reads from the profile's directories.
func NewBrowsers ¶
func NewBrowsers(cfg types.BrowserConfig) ([]*Browser, error)
NewBrowsers returns one Browser per Safari profile with resolvable data. Named profiles are enumerated from SafariTabs.db.
func (*Browser) BrowserName ¶
func (*Browser) CountEntries ¶
func (*Browser) ProfileDir ¶
func (*Browser) ProfileName ¶
func (*Browser) SetKeychainPassword ¶
Click to show internal directories.
Click to hide internal directories.