engine

package
v0.0.0-...-ebb88ec Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Package

type Package struct {
	*control.Control
	Path   string
	Config *packageConfig.PackageConfig
}

func (*Package) AddFile

func (p *Package) AddFile(fromPath, fileName, userToPath string, copy bool) error

func (*Package) GetPackageFolderName

func (p *Package) GetPackageFolderName() string

func (*Package) SaveControlFile

func (p *Package) SaveControlFile() error

type Project

type Project struct {
	Config         *projectConfig.ProjectConfig
	Path           string
	CurrentPackage *Package
	Packages       []*Package
}

func NewProject

func NewProject(l *logger.Logger, projectPath, projectName string) (*Project, error)

func OpenProject

func OpenProject(l *logger.Logger, projectPath string) (*Project, error)

func (*Project) AddPackage

func (p *Project) AddPackage(versionName, architectureName string) (*Package, error)

func (*Project) GetPackageById

func (p *Project) GetPackageById(id string) *Package

func (*Project) GetPackageListStore

func (p *Project) GetPackageListStore() *gtk.TreeModelFilter

func (*Project) IsWorkingWithLatestVersion

func (p *Project) IsWorkingWithLatestVersion() bool

func (*Project) Save

func (p *Project) Save() error

func (*Project) SetAsCurrent

func (p *Project) SetAsCurrent(id string)

func (*Project) SetAsLatest

func (p *Project) SetAsLatest(id string) error

func (*Project) SetShowOnlyLatestVersion

func (p *Project) SetShowOnlyLatestVersion(checked bool)

Jump to

Keyboard shortcuts

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