programs

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FetchResult added in v0.10.0

type FetchResult struct {
	Files     []*File
	PluginIDs []apiplugin.PluginID
}

func (*FetchResult) Modules added in v0.10.0

func (fr *FetchResult) Modules() (mods []*apiprogram.Module)

func (*FetchResult) Paths added in v0.10.0

func (fr *FetchResult) Paths() (paths []*apiprogram.Path)

type File added in v0.10.0

type File = programsstore.File

type Programs

type Programs struct {
	Store   *programsstore.Store
	Loaders *loaders.Loaders
	Catalog lang.Catalog
	L       L.Nullable
}

func (*Programs) Fetch added in v0.10.0

func (p *Programs) Fetch(
	ctx context.Context,
	pid apiproject.ProjectID,
	mainPath *apiprogram.Path,
	predecls []string,
) (*FetchResult, error)

func (*Programs) Get added in v0.10.0

func (p *Programs) Get(ctx context.Context, pid apiproject.ProjectID, path *apiprogram.Path) (*File, error)

func (*Programs) Update added in v0.10.0

func (p *Programs) Update(
	ctx context.Context,
	pid apiproject.ProjectID,
	files []*File,
) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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