Documentation ¶
Index ¶
- type FetchResult
- type File
- type Programs
- func (p *Programs) Fetch(ctx context.Context, pid apiproject.ProjectID, mainPath *apiprogram.Path, ...) (*FetchResult, error)
- func (p *Programs) Get(ctx context.Context, pid apiproject.ProjectID, path *apiprogram.Path) (*File, error)
- func (p *Programs) Update(ctx context.Context, pid apiproject.ProjectID, files []*File) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FetchResult ¶ added in v0.10.0
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)
Click to show internal directories.
Click to hide internal directories.