githubmentions

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package githubmentions provides a Collector that returns a Set for the number of mentions a given repository has in commit messages as returned by GitHub's search interface.

This signal formed the basis of the original version of dependent count, however it is a noisy, unreliable signal.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSource

func NewSource(c *githubapi.Client) signal.Source

Types

type Source

type Source struct {
	// contains filtered or unexported fields
}

func (*Source) EmptySet

func (c *Source) EmptySet() signal.Set

func (*Source) Get

func (c *Source) Get(ctx context.Context, r projectrepo.Repo, _ string) (signal.Set, error)

func (*Source) IsSupported

func (c *Source) IsSupported(r projectrepo.Repo) bool

Jump to

Keyboard shortcuts

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