compiler

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 1, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(*options)

func WithCompileRoot

func WithCompileRoot(r string) Option

func WithIgnore

func WithIgnore(m *ignore.Matcher) Option

func WithLogger

func WithLogger(l *slog.Logger) Option

func WithMessage

func WithMessage(m string) Option

func WithPaths

func WithPaths(p []string) Option

func WithTemps

func WithTemps(t map[string]*float64) Option

type Result

type Result struct {
	Added    int
	Modified int
	Removed  int
	Total    int
}

func Compile

func Compile(ctx context.Context, st *store.Store, opts ...Option) (*Result, error)

func CompileDir

func CompileDir(ctx context.Context, st *store.Store, dir, message string, opts ...Option) (*Result, error)

Jump to

Keyboard shortcuts

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