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

Method visitedKey

configs/port.go:84–89  ·  view source on GitHub ↗

visitedKey is the key used in visitedPorts to dedupe per-command processing.

()

Source from the content-addressed store, hash-verified

82
83// visitedKey is the key used in visitedPorts to dedupe per-command processing.
84func (p Port) visitedKey() string {
85 if p.DevDep || p.HostDep {
86 return p.NameVersion() + " [dev]"
87 }
88 return p.NameVersion()
89}
90
91func (p *Port) Init(ctx context.Context, nameVersion string) error {
92 p.ctx = ctx

Callers 2

CloneMethod · 0.95
RemoveMethod · 0.80

Calls 1

NameVersionMethod · 0.95

Tested by

no test coverage detected