Documentation
¶
Overview ¶
Package refresh updates the evidence of a saved local review without generation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Refresher ¶
func (Refresher) Refresh ¶
func (r Refresher) Refresh(ctx context.Context, repository github.Repository, number int, saved store.Version, caps bundle.Caps, now time.Time) ([]byte, error)
Refresh returns a validated replacement document. Callers publish it with Store.RefreshCurrent so a newer generation or refresh cannot be overwritten.
Click to show internal directories.
Click to hide internal directories.