Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func EnvOrFlagBool ¶
Types ¶
type ExtensionRequest ¶
func NewFromFile ¶
func NewFromFile(p string) ([]ExtensionRequest, error)
NewFromFile will walk the given path in search of text files that contain valid extension request definitions.
func (ExtensionRequest) Download ¶
func (pe ExtensionRequest) Download(root string) (bool, error)
Download will fetch the extension all its assets making it ready to be served by the serve command. It returns true if a download occured and false if the requested version already exists at output.
func (ExtensionRequest) DownloadVSIXPackage ¶
func (pe ExtensionRequest) DownloadVSIXPackage(root string) error
rewrite this, half the code is the same as Download, recursive function complicates things, maybe rethink the entire setup?
func (ExtensionRequest) String ¶
func (pe ExtensionRequest) String() string
Click to show internal directories.
Click to hide internal directories.