Documentation
¶
Index ¶
- func AppendEvent(event model.Event) error
- func AppendEventCollapsed(event model.Event) error
- func ArchiveEvents(active []model.Event, archived []model.Event) error
- func HubRoot() string
- func ReadArchivedEvents() ([]model.Event, error)
- func ReadEvents() ([]model.Event, error)
- func ResetHubRoot()
- func XpoDir() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendEvent ¶
func AppendEventCollapsed ¶
func ArchiveEvents ¶
ArchiveEvents moves the specified events to archive.db and rewrites issues.db with the active events.
func HubRoot ¶ added in v1.1.0
func HubRoot() string
HubRoot returns the absolute path of the primary checkout ("hub"). In a worktree it walks back through git-common-dir to find the main working tree; in a normal checkout or non-git context it returns the current working directory.
func ReadArchivedEvents ¶
ReadArchivedEvents reads events from the archive database
func ReadEvents ¶
func ResetHubRoot ¶ added in v1.1.0
func ResetHubRoot()
ResetHubRoot clears the cached hub root so it is re-discovered on the next call. Intended for tests only.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.