graphql

package
v0.0.0-...-b2e0f1d Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const RepositoryFieldsFragment = `` /* 270-byte string literal not displayed */

Variables

This section is empty.

Functions

This section is empty.

Types

type BatchChange

type BatchChange struct {
	URL string
}

type BatchSpecID

type BatchSpecID string

type Branch

type Branch struct {
	Name   string
	Target Target
}

type ChangesetSpecID

type ChangesetSpecID string

type CreateBatchSpecResponse

type CreateBatchSpecResponse struct {
	ID       BatchSpecID
	ApplyURL string
}

type Repository

type Repository struct {
	ID                 string
	Name               string
	URL                string
	ExternalRepository struct{ ServiceType string }

	DefaultBranch *Branch

	Commit Target
	// Branch is populated by resolveRepositoryNameAndBranch with the queried
	// branch's name and the contents of the Commit property.
	Branch Branch

	FileMatches map[string]bool
}

func (*Repository) BaseRef

func (r *Repository) BaseRef() string

func (*Repository) HasBranch

func (r *Repository) HasBranch() bool

func (*Repository) Rev

func (r *Repository) Rev() string

func (*Repository) SortedFileMatches

func (r *Repository) SortedFileMatches() []string

type Target

type Target struct {
	OID string
}

Jump to

Keyboard shortcuts

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