MCPcopy Index your code
hub / github.com/jetify-com/devbox / joinNameVersion

Function joinNameVersion

internal/devconfig/configfile/ast.go:362–367  ·  view source on GitHub ↗
(name, version string)

Source from the content-addressed store, hash-verified

360}
361
362func joinNameVersion(name, version string) string {
363 if version == "" {
364 return name
365 }
366 return name + "@" + version
367}
368
369func (c *configAST) appendStringSliceField(name, fieldName string, fieldValues []string) {
370 pkgObject := c.findPkgObject(name)

Callers 1

appendPackageMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected