shojo

package
v0.0.0-...-43777d7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 19, 2022 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DEFAULT_REPOSITORY = Repository{
		URL: "https://mirror.ctan.org/systems/texlive/tlnet/",
	}
)

Functions

func CreateProject

func CreateProject(projectPath string) (fail error)

func SetRepository

func SetRepository(repository string, projectPath string) (fail error)

Types

type Artifact

type Artifact struct {
	Name   string `yaml:"name"`
	SHA256 string `yaml:"sha256"`
}

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 MissingRepository struct {
	Tex      Tex       `yaml:"tex"`
	TLMGR    TLMGR     `yaml:"tlmgr"`
	Packages []Package `yaml:"packages"`
	// contains filtered or unexported fields
}

type MissingTLMGR

type MissingTLMGR struct {
	Tex      Tex       `yaml:"tex"`
	Packages []Package `yaml:"packages"`
	// contains filtered or unexported fields
}

type MissingTex

type MissingTex struct {
	TLMGR    TLMGR     `yaml:"tlmgr"`
	Packages []Package `yaml:"packages"`
	// contains filtered or unexported fields
}

type Package

type Package struct {
	Name     string `yaml:"name"`
	Revision string `yaml:"revision"`
}

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 ReadProject(projectPath string) (project Project, fail error)

func (*Project) AddToProject

func (project *Project) AddToProject(packageName string) (fail error)

func (*Project) InstallProject

func (project *Project) InstallProject() (fail error)

func (*Project) RmFromProject

func (project *Project) RmFromProject(packageName string, uninstall bool) (fail error)

func (*Project) UpgradeProjectPackage

func (project *Project) UpgradeProjectPackage(projectPath string, packageName string) (fail error)

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"`
}

type TLMGR

type TLMGR struct {
	Version string `yaml:"version"`
}

type Tex

type Tex struct {
	Version string `yaml:"version"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL