MCPcopy Create free account
hub / github.com/celer-pkg/celer / Port

Struct Port

configs/port.go:54–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54type Port struct {
55 Package Package `toml:"package"`
56 BuildConfigs []buildsystems.BuildConfig `toml:"build_configs"`
57
58 // Internal fields.
59 Name string `toml:"-"`
60 Version string `toml:"-"`
61 Parent string `toml:"-"`
62 DevDep bool `toml:"-"` // Whether the port is a dev_dependences.
63 HostDep bool `toml:"-"` // Whether the port is a dependencies of a dev_dependencies.
64 MatchedConfig *buildsystems.BuildConfig `toml:"-"`
65 PackageDir string `toml:"-"`
66 InstalledDir string `toml:"-"`
67
68 ctx context.Context
69 portFile string
70 traceFile string
71 metaFile string
72 tmpDepsDir string
73 installReport *installReport
74 exprVars context.ExprVars
75 sourceModified bool
76 pkgCacheStoreSkippedReason string
77}
78
79func (p Port) NameVersion() string {
80 return p.Name + "@" + p.Version

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected