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
Click to show internal directories.
Click to hide internal directories.