provider

package
v0.4.7 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package provider routes reputation queries to the correct backend (GitHub, GitLab) based on the repository URI.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAuthors

func GetAuthors(ctx context.Context, q report.Query) (*report.Report, error)

GetAuthors returns a report of authors for the given repo and commit.

Types

type CommitProvider

type CommitProvider func(ctx context.Context, q report.Query) (*report.Report, error)

CommitProvider is a function that returns a list of authors for the given repo and commit.

Directories

Path Synopsis
Package github implements the GitHub reputation provider.
Package github implements the GitHub reputation provider.
Package gitlab implements the GitLab reputation provider.
Package gitlab implements the GitLab reputation provider.

Jump to

Keyboard shortcuts

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