Package repos provides methods for repositories.
Clean cleans a repository codebase.
Download writes the source contents of a Repo to disk. The revision version of the repository is returned and the directory is created.
ImportDynamic returns a new Repo.
ImportPath returns a new Repo.
New returns a new Repo.
Ping checks the host server to determine the package Repo.
VCS represents a version control system for a repository.
Dir inspects dir and its parents to determine the version control system and code repository to use. On return, root is the import path corresponding to the root of the repository (thus root is a prefix of importPath).
NewVCS creates a new VCS object.
Describe describes a package via directory path and revision string.
Dirty determines if a local repo on disk is not clean.
Exists tests if a revision exists on local disk in a repo.
Identify takes a directory path and returns a revision string.
RevSync checks out the revision given by rev in dir. The dir must exist and rev must be a valid revision.