MCPcopy
hub / github.com/go-task/task / Replace

Function Replace

internal/templater/templater.go:61–63  ·  view source on GitHub ↗
(v T, cache *Cache)

Source from the content-addressed store, hash-verified

59}
60
61func Replace[T any](v T, cache *Cache) T {
62 return ReplaceWithExtra(v, cache, nil)
63}
64
65func ReplaceWithExtra[T any](v T, cache *Cache, extra map[string]any) T {
66 // If there is already an error, do nothing

Callers 7

compiledTaskMethod · 0.92
getVariablesMethod · 0.92
WrapWriterMethod · 0.92
DotenvFunction · 0.92
includeMethod · 0.92
ReplaceGlobsFunction · 0.85

Calls 1

ReplaceWithExtraFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…