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

# Packages

No description provided by the author

# Functions

CloneRepository clones a git repository from the given endpoint into the billy.Filesystem.
Download is a library.JobFn function to download a git repository and store it in a borges.Library.
FetchChanges fetches changes for the given remote into the borges.Repository.
PrepareRepository returns a borges.Repository ready to fetch changes.
RootCommit traverse the commit history for the given remote following the first parent of each commit.

# Variables

ErrNotDownloadJob is returned when a not download job is found.
ErrObjectTypeNotSupported returned by ResolveCommit when the referenced object isn't a Commit nor a Tag.
ErrRepoAlreadyExists is returned if there is an attempt to retrieve an already downloaded git repository.