MCPcopy Create free account
hub / github.com/go-task/task / LocalName

Method LocalName

taskfile/ast/task.go:66–71  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

64}
65
66func (t *Task) LocalName() string {
67 name := t.FullName
68 name = strings.TrimPrefix(name, t.Namespace)
69 name = strings.TrimPrefix(name, ":")
70 return name
71}
72
73// IsSilent returns true if the task has silent mode explicitly enabled.
74// Returns false if Silent is nil (not set) or explicitly set to false.

Callers 2

NameFunction · 0.80
HashFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected