Documentation ¶
Overview ¶
Package repository contains package methods for git repository support.
Index ¶
Constants ¶
View Source
const SchemaVersion = 0
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Repository ¶
type Repository struct { models.Base Name safe.VarChar `json:"name"` Org models.ID `json:"org"` Owner models.ID `json:"owner"` Path string `json:"path"` }
Repository models a row of the orgs table.
func (*Repository) GetOrg ¶
func (r *Repository) GetOrg() models.ID
GetRepository implements models.WithOrg.
func (*Repository) GetRepository ¶
func (r *Repository) GetRepository() models.ID
GetRepository implements models.WithRepository.
func (*Repository) GetUser ¶
func (r *Repository) GetUser() models.ID
GetRepository implements models.WithUser.
Click to show internal directories.
Click to hide internal directories.