Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct {
// contains filtered or unexported fields
}
Context contains the context details for this command.
func NewContext ¶
NewContext creates a new local context.
func (*Context) Upgrade ¶
func (ctx *Context) Upgrade() (*OnlineContext, error)
Upgrade upgrades the Context to an OnlineContext.
type OnlineContext ¶
type OnlineContext struct { Context // contains filtered or unexported fields }
OnlineContext contains the details for an online context.
func NewOnlineContext ¶
func NewOnlineContext(dir *string) (*OnlineContext, error)
NewOnlineContext creates a new online context.
func (*OnlineContext) RemotePackages ¶
func (rwc *OnlineContext) RemotePackages() map[string]ccmodupdater.RemotePackage
RemotePackages returns all the remote packages.
Click to show internal directories.
Click to hide internal directories.