evtparse

package
v0.85.0-pre.4 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2026 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CallerCtx

type CallerCtx struct {
	WaitingForBuildRetry bool
}

type ShortCircuitReason

type ShortCircuitReason string
const (
	ShortCircuitNotApplicable        ShortCircuitReason = ""
	ShortCircuitReasonConfigChange   ShortCircuitReason = "config_change"
	ShortCircuitReasonBuildRetryWait ShortCircuitReason = "build_retry_wait"
	ShortCircuitReasonNoOp           ShortCircuitReason = "noop"
)

type Workset

type Workset struct {
	ShouldShortCircuit bool
	ShortCircuitReason ShortCircuitReason

	// Expected supervisor behavior:
	// - if `Watcher.PerformFullReset` is true, fully rebuild watcher from resolve root
	// - else if `Watcher.WatchNewDirs` is non-empty, watch new dirs incrementally
	Watcher struct {
		WatchNewDirs     []strict.CWDRelPath
		PerformFullReset bool
	}

	Builder struct {
		RunImplicitBuild              bool
		PreferFrontendRevalidate      bool
		CompileGoBinary               bool
		RestartAppServer              bool
		HandleCriticalCSS             bool
		HandleNormalCSS               bool
		HandlePublicStatic            bool
		HandlePrivateStatic           bool
		SkipFrontendRebuildingOverlay bool

		HookCmds struct {
			Pre              []strict.Cmd
			Concurrent       []strict.Cmd
			ConcurrentNoWait []strict.Cmd
			Post             []strict.Cmd
		}
	}
}

func RawBatchToWorkset

func RawBatchToWorkset(
	raw_batch []fsnotify.Event,
	cfg *config.Parsed,
	caller_ctx CallerCtx,
) Workset

Jump to

Keyboard shortcuts

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