Documentation
¶
Index ¶
Constants ¶
View Source
const CampaignFieldsFragment = ` fragment campaignFields on Campaign { id namespace { ...namespaceFields } name description url } ` + NamespaceFieldsFragment
View Source
const NamespaceFieldsFragment = `
fragment namespaceFields on Namespace {
id
namespaceName
url
}
`
View Source
const RepositoryFieldsFragment = `` /* 270-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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) SearchResultPaths ¶
func (r *Repository) SearchResultPaths() (list fileMatchPathList)
func (*Repository) Slug ¶
func (r *Repository) Slug() string
Click to show internal directories.
Click to hide internal directories.