Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrMissingRepo = errors.New("missing repo")
ErrMissingRepo indicates that the requested repository could not be found.
Functions ¶
Types ¶
type GitRepo ¶
type GitRepo interface { Repo() string Name() string Description() string Readme() (string, string) HEAD() (*git.Reference, error) Commit(string) (*git.Commit, error) CommitsByPage(*git.Reference, int, int) (git.Commits, error) CountCommits(*git.Reference) (int64, error) Diff(*git.Commit) (*git.Diff, error) References() ([]*git.Reference, error) Tree(*git.Reference, string) (*git.Tree, error) IsPrivate() bool }
GitRepo is an interface for Git repositories.
Click to show internal directories.
Click to hide internal directories.