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

Struct GitNode

taskfile/node_git.go:23–29  ·  view source on GitHub ↗

An GitNode is a node that reads a Taskfile from a remote location via Git.

Source from the content-addressed store, hash-verified

21
22// An GitNode is a node that reads a Taskfile from a remote location via Git.
23type GitNode struct {
24 *baseNode
25 url *url.URL
26 rawUrl string
27 ref string
28 path string
29}
30
31type gitRepoCache struct {
32 mu sync.Mutex // Protects the locks map

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected