MCPcopy Create free account
hub / github.com/dagger/dagger / FormatDescription

Function FormatDescription

dagql/objects.go:1455–1460  ·  view source on GitHub ↗
(paras ...string)

Source from the content-addressed store, hash-verified

1453}
1454
1455func FormatDescription(paras ...string) string {
1456 for i, p := range paras {
1457 paras[i] = strings.Join(strings.Fields(strings.TrimSpace(p)), " ")
1458 }
1459 return strings.Join(paras, "\n\n")
1460}
1461
1462// Deprecated marks the field as deprecated, meaning it should not be used by
1463// new code.

Callers 15

TypeDescriptionMethod · 0.92
TypeDescriptionMethod · 0.92
TypeDescriptionMethod · 0.92
TypeDescriptionMethod · 0.92
TypeDescriptionMethod · 0.92
module.goFile · 0.92
installCoreInterfacesFunction · 0.92
server.goFile · 0.85
RegisterViewMethod · 0.85
DocMethod · 0.85
DeprecatedMethod · 0.85
ExperimentalMethod · 0.85

Calls 1

FieldsMethod · 0.45

Tested by

no test coverage detected