git

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL