installer

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2026 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BinaryBuilder

type BinaryBuilder interface {
	BuildPlatformSpecificBinaries(moduleDir, binDir string) error
}

type BinaryBuilderFunc

type BinaryBuilderFunc func(moduleDir, binDir string) error

func (BinaryBuilderFunc) BuildPlatformSpecificBinaries

func (f BinaryBuilderFunc) BuildPlatformSpecificBinaries(moduleDir, binDir string) error

type FileSystem

type FileSystem interface {
	MkdirAll(path string, perm os.FileMode) error
	WriteFile(name string, data []byte, perm os.FileMode) error
}

type GoListModuleRootFinder

type GoListModuleRootFinder struct{}

func (GoListModuleRootFinder) FindModuleRoot

func (GoListModuleRootFinder) FindModuleRoot() (string, error)

type Installer

type Installer struct {
	// contains filtered or unexported fields
}

func New

func New(fileSystem FileSystem, moduleRootFinder ModuleRootFinder, binaryBuilder BinaryBuilder) *Installer

func (*Installer) BuildAndInstall

func (i *Installer) BuildAndInstall(matlabRoot string) error

type ModuleRootFinder

type ModuleRootFinder interface {
	FindModuleRoot() (string, error)
}

Jump to

Keyboard shortcuts

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