ifaces

package
v2.0.0-alpha.4 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Scripter

type Scripter interface {
	AssetScript(ctx context.Context, root string, name string) (string, error)
}

type Tooler

type Tooler interface {
	// AssetTool returns the name of the asset tool to use.
	// npm, yarnpkg, etc...
	AssetTool(ctx context.Context, root string) (string, error)
}

type ToolerFn

type ToolerFn func(ctx context.Context, root string) (string, error)

func (ToolerFn) AssetTool

func (fn ToolerFn) AssetTool(ctx context.Context, root string) (string, error)

func (ToolerFn) PluginName

func (ToolerFn) PluginName() string

Jump to

Keyboard shortcuts

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