batches

package
v0.0.0-...-3ce717f Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FeatureFlags

type FeatureFlags struct {
	Sourcegraph40 bool
	BinaryDiffs   bool
}

FeatureFlags represent features that are only available on certain Sourcegraph versions and we therefore have to detect at runtime.

func (*FeatureFlags) SetFromVersion

func (ff *FeatureFlags) SetFromVersion(version string) error

type IgnoredRepoSet

type IgnoredRepoSet map[*graphql.Repository]struct{}

IgnoredRepoSet provides a set to manage repositories that are on unsupported code hosts. This type implements error to allow it to be returned directly as an error value if needed.

func (IgnoredRepoSet) Append

func (e IgnoredRepoSet) Append(repo *graphql.Repository)

func (IgnoredRepoSet) Error

func (e IgnoredRepoSet) Error() string

func (IgnoredRepoSet) HasIgnored

func (e IgnoredRepoSet) HasIgnored() bool

func (IgnoredRepoSet) Includes

func (e IgnoredRepoSet) Includes(r *graphql.Repository) bool

type LicenseRestrictions

type LicenseRestrictions struct {
	MaxUnlicensedChangesets int
}

type UnsupportedRepoSet

type UnsupportedRepoSet map[*graphql.Repository]struct{}

UnsupportedRepoSet provides a set to manage repositories that are on unsupported code hosts. This type implements error to allow it to be returned directly as an error value if needed.

func (UnsupportedRepoSet) Append

func (e UnsupportedRepoSet) Append(repo *graphql.Repository)

func (UnsupportedRepoSet) Error

func (e UnsupportedRepoSet) Error() string

func (UnsupportedRepoSet) HasUnsupported

func (e UnsupportedRepoSet) HasUnsupported() bool

func (UnsupportedRepoSet) Includes

func (e UnsupportedRepoSet) Includes(r *graphql.Repository) bool

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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