Documentation
¶
Index ¶
- Variables
- type Engine
- func (o *Engine) AddResolver(r resolver.Resolver)
- func (o *Engine) ContextFromConfigDir(dir string) (*model.ResolvedDependency, error)
- func (o *Engine) Execute(rdep *model.ResolvedDependency, args []string) int
- func (o *Engine) ExecuteWithIO(rdep *model.ResolvedDependency, args []string, stdout io.Writer, ...) int
- type PathFound
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine struct {
// contains filtered or unexported fields
}
func NewEngine ¶
func NewEngine(appCtx model.AppContext) *Engine
func (*Engine) AddResolver ¶
func (*Engine) ContextFromConfigDir ¶
func (o *Engine) ContextFromConfigDir(dir string) (*model.ResolvedDependency, error)
type PathFound ¶
PathFound struct returned by FindFileUpwards
func FindFileUpwards ¶
FindFileUpwards Find a file within a specified directory. If not found it walks up the directory tree until the file is found or no more parent directories exists. subPathToFind Path to be found as an array
Click to show internal directories.
Click to hide internal directories.