Documentation
¶
Index ¶
- func NewStarlarkThread() *starlark.Thread
- type RunOptions
- type State
- func (s *State) CollectFiles(ctx context.Context, root string) ([]string, error)
- func (s *State) CollectFilesInRoot(ctx context.Context, root string) ([]string, error)
- func (s *State) RunBuildFile(pkg *packages.Package, path string, options RunOptions) error
- func (s *State) RunBuildFiles(ctx context.Context, files []string, options RunOptions) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewStarlarkThread ¶
Types ¶
type RunOptions ¶
type RunOptions struct { ThreadModifier func(thread *starlark.Thread, pkg *packages.Package) UniverseFactory func() starlark.StringDict CacheDirPath string ProgramExtraHash func(hash.Hash) RootPkg *packages.Package }
func (RunOptions) Copy ¶
func (o RunOptions) Copy() RunOptions
type State ¶
type State struct { Patterns []string Ignore []string Packages *packages.Registry // contains filtered or unexported fields }
func (*State) CollectFiles ¶
func (*State) CollectFilesInRoot ¶
func (*State) RunBuildFile ¶
func (*State) RunBuildFiles ¶
Click to show internal directories.
Click to hide internal directories.