cmd

package
v1.4.3 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2022 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultMinCondaVersion = "4.8.2"
View Source
const DefaultMinMambaVersion = "0.7.3"

Variables

View Source
var TestSitePath string

Functions

func EnsureConda

func EnsureConda(mamba bool, micromamba bool, conda bool, condaStandalone bool, noInstall bool) (string, error)

func Execute

func Execute() error

Execute executes the root command.

func FindExecutable

func FindExecutable(executableFileName string, searchPath string, predicate func(path string) (bool, error)) (string, error)

func InstallCondaStandalone

func InstallCondaStandalone() (string, error)

func InstallMicromamba

func InstallMicromamba() (string, error)

func PlatformSubdir

func PlatformSubdir() string

func ResolveExecutable

func ResolveExecutable(executableName string, dataDir string, versionPredicate func(path string) (bool, error)) (string, error)

Types

type AnacondaPkg

type AnacondaPkg struct {
	Size  uint32          `json:"size"`
	Attrs AnacondaPkgAttr `json:"attrs"`
	Type  string          `json:"type"`
}

type AnacondaPkgAttr

type AnacondaPkgAttr struct {
	Subdir      string `json:"subdir"`
	Version     string `json:"version"`
	BuildNumber int32  `json:"build_number"`
	Timestamp   uint64 `json:"timestamp"`
	SourceUrl   string `json:"source_url"`
	Md5         string `json:"md5"`
}

type AnacondaPkgAttrs

type AnacondaPkgAttrs []AnacondaPkgAttr

func (AnacondaPkgAttrs) Len

func (a AnacondaPkgAttrs) Len() int

func (AnacondaPkgAttrs) Less

func (a AnacondaPkgAttrs) Less(i, j int) bool

func (AnacondaPkgAttrs) Swap

func (a AnacondaPkgAttrs) Swap(i, j int)

type ArchSpec

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

Jump to

Keyboard shortcuts

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