internal

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DepWatcher

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

func NewDepWatch

func NewDepWatch(tc *toolchain.Toolchain, initPkgs []*toolchain.Package, entryPkg string) *DepWatcher

func (*DepWatcher) AddWatcher

func (w *DepWatcher) AddWatcher(wt *fsnotify.Watcher) error

func (*DepWatcher) Build

func (w *DepWatcher) Build(output string) (err error)

func (*DepWatcher) Contains

func (w *DepWatcher) Contains(dir string) *toolchain.Package

func (*DepWatcher) CurrentDeps

func (w *DepWatcher) CurrentDeps() []*toolchain.Package

func (*DepWatcher) Refresh

func (w *DepWatcher) Refresh() (err error)

type SingleTask

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

func NewSingleTask

func NewSingleTask(interval time.Duration, do func()) *SingleTask

func (*SingleTask) Run

func (r *SingleTask) Run()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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