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

Method ResolveEntrypoint

taskfile/node_http.go:142–148  ·  view source on GitHub ↗
(entrypoint string)

Source from the content-addressed store, hash-verified

140}
141
142func (node *HTTPNode) ResolveEntrypoint(entrypoint string) (string, error) {
143 ref, err := url.Parse(entrypoint)
144 if err != nil {
145 return "", err
146 }
147 return node.url.ResolveReference(ref).String(), nil
148}
149
150func (node *HTTPNode) ResolveDir(dir string) (string, error) {
151 path, err := execext.ExpandLiteral(dir)

Callers

nothing calls this directly

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected