MCPcopy Index your code
hub / github.com/celer-pkg/celer / Project

Struct Project

configs/project.go:20–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18)
19
20type Project struct {
21 TargetPlatform string `toml:"target_platform,omitempty"`
22 BuildType string `toml:"build_type"`
23 Ports []string `toml:"ports"`
24 Vars []string `toml:"vars"`
25 Envs []string `toml:"envs"`
26 Macros []string `toml:"macros"`
27
28 // Internal fields.
29 Name string `toml:"-"`
30 ctx context.Context
31}
32
33func (p *Project) Init(ctx context.Context, projectName string) error {
34 p.ctx = ctx

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected