Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AsyncRepoCloner ¶ added in v0.2.0
AsyncRepoCloner represents an asynchronous repository cloner
func (*AsyncRepoCloner) Clone ¶ added in v0.2.0
func (rc *AsyncRepoCloner) Clone(auth transport.AuthMethod) <-chan struct{}
Clone starts an asynchronous clone of the requested repository and sets Ready to true when the repository is cloned successfully
type File ¶
type File struct {
Log GitLog
// contains filtered or unexported fields
}
File represents a file content and log pair from the repository
type Repo ¶
type Repo struct {
// contains filtered or unexported fields
}
Repo represents a git repository
func (*Repo) GetAllFiles ¶
GetAllFiles returns a map of Files. Each file is keyed in the map by it's path within the repository
type RepoRef ¶
type RepoRef struct {
URL string
User string
Pass string
PrivateKey []byte
// contains filtered or unexported fields
}
RepoRef contains information required to construct a Git Repository
Click to show internal directories.
Click to hide internal directories.