Documentation
¶
Index ¶
- Variables
- func CreateProject(projectPath string) (fail error)
- func SetRepository(repository string, projectPath string) (fail error)
- type Artifact
- type GenericRepository
- type MissingAll
- type MissingRepository
- type MissingTLMGR
- type MissingTex
- type Package
- type Project
- func (project *Project) AddToProject(packageName string) (fail error)
- func (project *Project) InstallProject() (fail error)
- func (project *Project) RmFromProject(packageName string, uninstall bool) (fail error)
- func (project *Project) UpgradeProjectPackage(projectPath string, packageName string) (fail error)
- type Repository
- type Show
- type TLMGR
- type Tex
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DEFAULT_REPOSITORY = Repository{
URL: "https://mirror.ctan.org/systems/texlive/tlnet/",
}
)
Functions ¶
func CreateProject ¶
func SetRepository ¶
Types ¶
type GenericRepository ¶
type GenericRepository interface {
// contains filtered or unexported methods
}
type MissingAll ¶
type MissingAll struct {
Packages []Package `yaml:"packages"`
// contains filtered or unexported fields
}
type MissingRepository ¶
type MissingTLMGR ¶
type MissingTex ¶
type Project ¶
type Project struct {
Tex Tex `yaml:"tex"`
TLMGR TLMGR `yaml:"tlmgr"`
Repository Repository `yaml:"repository"`
Packages []Package `yaml:"packages"`
// contains filtered or unexported fields
}
func ReadProject ¶
func (*Project) AddToProject ¶
func (*Project) InstallProject ¶
func (*Project) RmFromProject ¶
type Repository ¶
type Repository struct {
URL string `yaml:"url"`
}
type Show ¶
type Show struct {
Package string `yaml:"package"`
Category string `yaml:"category"`
Shortdesc string `yaml:"shortdesc"`
Longdesc string `yaml:"longdesc"`
Installed string `yaml:"installed"`
Revision string `yaml:"revision"`
Sizes string `yaml:"sizes"`
Relocatable string `yaml:"relocatable"`
CatVersion string `yaml:"cat-version"`
CatLicense string `yaml:"cat-license"`
CatTopics string `yaml:"cat-topics"`
CatRelated string `yaml:"cat-related"`
Collection string `yaml:"collection"`
}
Click to show internal directories.
Click to hide internal directories.