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 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
Click to show internal directories.
Click to hide internal directories.