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

Function formatTaskActor

internal/cli/task.go:4604–4609  ·  view source on GitHub ↗
(actor taskpkg.ActorIdentity)

Source from the content-addressed store, hash-verified

4602}
4603
4604func formatTaskActor(actor taskpkg.ActorIdentity) string {
4605 return firstNonEmpty(
4606 string(actor.Kind)+":"+strings.TrimSpace(actor.Ref),
4607 strings.TrimSpace(actor.Ref),
4608 )
4609}
4610
4611func formatTaskActorPtr(actor *taskpkg.ActorIdentity) string {
4612 if actor == nil {

Callers 7

taskBundleFunction · 0.85
taskBlockKeyValuesFunction · 0.85
taskBlockToonValuesFunction · 0.85
taskEventRowsFunction · 0.85
taskEventToonRowsFunction · 0.85
formatTaskActorPtrFunction · 0.85

Calls 1

firstNonEmptyFunction · 0.70

Tested by

no test coverage detected