interpreterfinder

package
v3.2.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2021 License: MIT Imports: 5 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InterpreterFinder

type InterpreterFinder struct {
	// CurrentDir is a currently directory of the executable file
	CurrentDir string
}

InterpreterFinder provides finding INSTEAD interpreter in the filesystem

func (*InterpreterFinder) Check

func (f *InterpreterFinder) Check(command string) (version string, e error)

Check checks the INSTEAD interpreter and returns version of INSTEAS If INSTEAD could not be found returns error

func (*InterpreterFinder) Find

func (f *InterpreterFinder) Find() *string

Find finds INSTEAD interpreter in the filesystem

func (*InterpreterFinder) FindBuiltIn

func (f *InterpreterFinder) FindBuiltIn() (path string)

FindBuiltIn returns built-in INSTEAD interpreter path

func (*InterpreterFinder) HaveBuiltIn

func (f *InterpreterFinder) HaveBuiltIn() bool

HaveBuiltIn checks is there is built-in INSTEAD with InsteadMan

Jump to

Keyboard shortcuts

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