Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrMissingPubspecFile = util.NewInvalidArgumentErrorf("Pubspec file is missing") ErrPubspecFileTooLarge = util.NewInvalidArgumentErrorf("Pubspec file is too large") ErrInvalidName = util.NewInvalidArgumentErrorf("package name is invalid") ErrInvalidVersion = util.NewInvalidArgumentErrorf("package version is invalid") )
Functions ¶
This section is empty.
Types ¶
type Metadata ¶
type Metadata struct { Description string `json:"description,omitempty"` ProjectURL string `json:"project_url,omitempty"` RepositoryURL string `json:"repository_url,omitempty"` DocumentationURL string `json:"documentation_url,omitempty"` Readme string `json:"readme,omitempty"` Pubspec interface{} `json:"pubspec"` }
Metadata represents the metadata of a Pub package
type Package ¶
Package represents a Pub package
func ParsePackage ¶
ParsePackage parses the Pub package file
Click to show internal directories.
Click to hide internal directories.