Documentation ¶
Index ¶
- type Module
- func (m *Module) CheckForUpdates(packageName, dir string) (headRef, latestRef string, err error)
- func (m *Module) Clone(packageName, packageURL, dir string) error
- func (m *Module) CloneToTheme(url string) (*models.Theme, error)
- func (m *Module) FetchPackage(p *packages.Package) ([]*packages.Registry, error)
- func (m *Module) Init(c *service.Config)
- func (m *Module) Registry(registryURL string) *Registry
- type Registry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Module ¶
Module pkg manages downloading pkg
func (*Module) CheckForUpdates ¶
CheckForUpdates in the given repo at {data_dir}/{dir}/{packageName}
func (*Module) CloneToTheme ¶
CloneToTheme fetches the theme to memory returns the model and theme
func (*Module) FetchPackage ¶
FetchPackage fetches information about the given package from upstream vcs repo
Click to show internal directories.
Click to hide internal directories.