MCPcopy Index your code
hub / github.com/go-task/task / taskNameWithNamespace

Function taskNameWithNamespace

taskfile/ast/tasks.go:246–251  ·  view source on GitHub ↗
(taskName string, namespace string)

Source from the content-addressed store, hash-verified

244}
245
246func taskNameWithNamespace(taskName string, namespace string) string {
247 if after, ok := strings.CutPrefix(taskName, NamespaceSeparator); ok {
248 return after
249 }
250 return fmt.Sprintf("%s%s%s", namespace, NamespaceSeparator, taskName)
251}

Callers 1

MergeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…