package
0.1.3
Repository: https://github.com/src-d/go-borges.git
Documentation: pkg.go.dev

# Functions

MergeLibraryIterators builds a new iterator from the given ones.
MergeLocationIterators builds a new iterator from the given ones.
MergeRepositoryIterators builds a new iterator from the given ones.
New create a new Libraries instance.
RepoIterJumpLibraries returns a borges.RepositoryIterator whose order will be a returned borges.Repository from a different library each time, that is: repo from lib1, repo from lib2, repo from lib3, repo from lib1 ...
RepoIterJumpLocations returns a borges.RepositoryIterator whose order will be all the repositories from a location from a different library each time, that is: repos from loc1/lib1, repos from loc1/lib2, repos from loc2/lib1, ...
RepoIterJumpPlainLibraries returns a borges.RepositoryIterator with the same properties as the one returned by RepoIterJumpLibraries but using only those libraries of type plain.Library.
RepoIterJumpSivaLocations returns a borges.RepositoryIterator with the same properties as the one returned by RepoIterJumpLocations but using only those libraries of type siva.Library.
RepositoryDefaultIter returns a borges.RepositoryIterator with no specific iteration order.

# Variables

ErrLibraryExists an error returned when a borges.Library added before is attempted to be added again.

# Structs

Libraries is an implementation to aggregate borges.Library in just one instance.
Options hold configuration options for a Libraries.

# Type aliases

FilterLibraryFunc stands for a borges.Library filter function.
RepositoryIterFunc stands for a function returning a borges.RepositoryIterator which iters in a certain order.