Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListRevisionsInRepository ¶
func ListRevisionsInRepository(ctx context.Context, url string, options ListOptions) (result []string, listErr error)
ListRevisionsInRepository lists the revisions in the repository.
It will clone the repository to a configurable depth and list all revisions in the clone.
Types ¶
type ListOptions ¶
type ListOptions struct {
MaxCommits int
}
ListOptions configures how the commits are fetched and processed.
Click to show internal directories.
Click to hide internal directories.