Documentation ¶
Index ¶
- Variables
- type File
- type Store
- func (s *Store) Get(ctx context.Context, pid apiproject.ProjectID, paths []*apiprogram.Path, ...) (fs []*File, err error)
- func (s *Store) Setup(ctx context.Context) error
- func (s *Store) Teardown(ctx context.Context) error
- func (s *Store) Update(ctx context.Context, pid apiproject.ProjectID, fs []*File) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = pkvstore.ErrNotFound
Functions ¶
This section is empty.
Types ¶
type File ¶
type File struct { Path *apiprogram.Path `json:"path"` FetchedVersion string `json:"fetched_version"` // != path.version if path.version is empty. FetchedAt time.Time `json:"fetched_at"` Source []byte `json:"source"` Module *apiprogram.Module `json:"module"` // compiled }
Click to show internal directories.
Click to hide internal directories.