package
0.0.0-20241217200950-e77bea9c52fc
Repository: https://chromium.googlesource.com/infra/luci/luci-go
Documentation: pkg.go.dev

# Functions

FormatRepoURL returns a canonical gitiles URL of the repo.
NewRefSet creates an instance of the RefSet.
NewRESTClient creates a new Gitiles client based on Gitiles's REST API.
NormalizeRepoURL is a shortcut for ParseRepoURL and FormatRepoURL.
PagingLog is a wrapper around Gitiles.Log RPC that pages though commits.
ParseRepoURL parses a Gitiles repository URL.
ValidateRefSet validates strings representing a set of refs.
ValidateRepoHost validates gitiles host.
ValidateRepoURL validates gitiles repository URL.

# Constants

DefaultLimit is the default maximum number of commits to load.
OAuthScope is the OAuth 2.0 scope that must be included when acquiring an access token for Gitiles RPCs.

# Structs

RefSet efficiently resolves many refs, supporting regexps.