MCPcopy Create free account
hub / github.com/compozy/agh / formatTaskOwnership

Function formatTaskOwnership

internal/cli/task.go:4594–4602  ·  view source on GitHub ↗
(owner *taskpkg.Ownership)

Source from the content-addressed store, hash-verified

4592}
4593
4594func formatTaskOwnership(owner *taskpkg.Ownership) string {
4595 if owner == nil {
4596 return ""
4597 }
4598 return firstNonEmpty(
4599 string(owner.Kind)+":"+strings.TrimSpace(owner.Ref),
4600 strings.TrimSpace(owner.Ref),
4601 )
4602}
4603
4604func formatTaskActor(actor taskpkg.ActorIdentity) string {
4605 return firstNonEmpty(

Callers 5

taskBundleFunction · 0.85
taskSummaryListBundleFunction · 0.85
taskRunDetailBundleFunction · 0.85
taskChildRowsFunction · 0.85
taskChildToonRowsFunction · 0.85

Calls 1

firstNonEmptyFunction · 0.70

Tested by

no test coverage detected