Documentation ¶
Overview ¶
Package cloud provides access to Safari's iCloud Tabs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // DefaultTabsPath is the path to the default CloudTabs database. DefaultTabsPath = filefinder.New([]string{ filepath.Join(os.Getenv("HOME"), "Library/Safari/CloudTabs.db"), filepath.Join(os.Getenv("HOME"), "Library/Containers/com.apple.Safari/Data/Library/Safari/CloudTabs.db"), }).FirstExists() )
Functions ¶
This section is empty.
Types ¶
type ByDeviceIndex ¶ added in v0.4.0
type ByDeviceIndex []*Tab
ByDeviceIndex sorts Tabs by device name and sort index.
func (ByDeviceIndex) Len ¶ added in v0.4.0
func (t ByDeviceIndex) Len() int
Implement sort.Interface
func (ByDeviceIndex) Less ¶ added in v0.4.0
func (t ByDeviceIndex) Less(i, j int) bool
func (ByDeviceIndex) Swap ¶ added in v0.4.0
func (t ByDeviceIndex) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.