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

Method promptf

taskfile/reader.go:268–273  ·  view source on GitHub ↗
(format string, a ...any)

Source from the content-addressed store, hash-verified

266}
267
268func (r *Reader) promptf(format string, a ...any) error {
269 if r.promptFunc != nil {
270 return r.promptFunc(fmt.Sprintf(format, a...))
271 }
272 return nil
273}
274
275// isTrusted checks if a URI's host matches any of the trusted hosts patterns.
276func (r *Reader) isTrusted(uri string) bool {

Callers 1

readRemoteNodeContentMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected