Documentation ¶
Index ¶
- func GetRepositoryUrl(provider, fullName string) string
- func Register(repoID string) error
- type Info
- func (info *Info) Clone(project config.Project, url, branch string, embedded bool) (*git.Repository, error)
- func (info *Info) GetIDFromName() error
- func (info *Info) GetNameFromID() error
- func (info *Info) HasBeenCloned(project config.Project, provider string) bool
- func (info *Info) Open(project config.Project, url string) (*git.Repository, error)
- func (info *Info) Pull(project config.Project, url string) (*git.Repository, error)
- func (info *Info) Push(project config.Project, message, url string) (*git.Repository, error)
- type InfoTemplate
- type RepositoryType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRepositoryUrl ¶
Types ¶
type Info ¶
type Info struct { FullName string ID string Type RepositoryType DoClone bool }
func (*Info) GetIDFromName ¶
func (*Info) GetNameFromID ¶
func (*Info) HasBeenCloned ¶
type InfoTemplate ¶
type InfoTemplate struct { RepositoryName string Info templates.TemplateInfo Private bool }
type RepositoryType ¶
type RepositoryType = string
const ( WebsiteRepositoryType RepositoryType = "website" LibraryRepositoryType RepositoryType = "library" )
Click to show internal directories.
Click to hide internal directories.