Skip to content

Commit

Permalink
Add a missing docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
korfuri committed Jul 13, 2017
1 parent b9b57c5 commit fd5af31
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packagegraph.go
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,7 @@ func NewPackageGraph(versionF func(loader.Program, loader.PackageInfo) (int64, e
return p
}

// SetFilterF sets the filterF for this PackageGraph
func (pg *PackageGraph) SetFilterF(f func(string, int64) bool) {
pg.filterF = f
}

0 comments on commit fd5af31

Please sign in to comment.