Documentation
¶
Overview ¶
Package diff provides functionality to analyze updates.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Jar ¶ added in v0.0.2
Jar holds a collection of Diff objects and information to notify the user.
func NewJar ¶ added in v0.0.2
func NewJar() *Jar
NewJar creates a new Jar given information to notify the user.
func (*Jar) Add ¶ added in v0.0.2
func (d *Jar) Add(name string, is *g.Repository, was *g.Repository)
Add adds a new Diff into the Jar if a difference in the latest update was detected.
func (*Jar) ComputeDiffs ¶ added in v0.0.3
func (d *Jar) ComputeDiffs(newRepos []*g.Repository, prevRepos map[string]g.Repository)
ComputeDiffs compares newRepos with prevRepos and populates Diffs.
Click to show internal directories.
Click to hide internal directories.