sol

package
v0.51.0 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2026 License: MIT Imports: 13 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadSolutionDoc

func ReadSolutionDoc(file string) (*spec.SolutionDoc, error)

Types

type Runner added in v0.8.0

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

func NewRunner added in v0.8.0

func NewRunner() *Runner

func (*Runner) Clear added in v0.8.0

func (r *Runner) Clear()

func (*Runner) HasTask added in v0.8.0

func (r *Runner) HasTask(name string) bool

func (*Runner) OnTask added in v0.24.2

func (r *Runner) OnTask(fn func(*tasks.TaskEvent))

func (*Runner) RunDoc added in v0.8.0

func (r *Runner) RunDoc(ctx context.Context, file string, doc *spec.SolutionDoc) error

RunDoc runs the given file task once. It should not act on a cached value.

func (*Runner) RunSource added in v0.27.0

func (r *Runner) RunSource(ctx context.Context, source string, force bool) error

func (*Runner) StopWatch added in v0.8.0

func (r *Runner) StopWatch(file string)

StopWatch stops the watch of the given file task.

func (*Runner) TaskFiles added in v0.8.0

func (r *Runner) TaskFiles() []string

func (*Runner) WatchDoc added in v0.27.0

func (r *Runner) WatchDoc(ctx context.Context, file string, doc *spec.SolutionDoc) error

WatchDoc starts the watch of the given file task.

func (*Runner) WatchSource added in v0.27.0

func (r *Runner) WatchSource(ctx context.Context, source string, force bool) error

Jump to

Keyboard shortcuts

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