Documentation ¶
Index ¶
Constants ¶
View Source
const FileChunk = 8192
FileChunk is chunk
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Archive ¶
type Archive struct { Directory string `json:"directory"` Format string `json:"format"` SkipDev bool `json:"skip-dev"` PrefixURL string `json:"prefix-url"` }
Archive is archive field in config file
type Config ¶
Config is app config
func (*Config) MakeOutputDir ¶
func (config *Config) MakeOutputDir()
MakeOutputDir create dir for archive repository branch and packages.json file
type File ¶
type File struct { Name string `json:"name"` Homepage string `json:"homepage"` Archive Archive `json:"archive"` Repositories []Repository `json:"repositories"` }
File is config file
type Repository ¶
Repository is repository field in config file
func (*Repository) UpdateAll ¶
func (repo *Repository) UpdateAll(config Config) (composer.PackageJSON, error)
UpdateAll update all repositories
Click to show internal directories.
Click to hide internal directories.