Documentation ¶
Overview ¶
Package favourite defines methods for setting/getting favourites for paths and persisting this data.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store interface { // Set the rating for the path. Set(index.Path, bool) error // Get the rating for the path. Get(index.Path) bool // List retuns a list of paths in the favourite Store. List() []index.Path }
Store is an interface which defines methods necessary for setting and getting favourites for index paths.
Click to show internal directories.
Click to hide internal directories.