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

Struct FileNode

taskfile/node_file.go:15–18  ·  view source on GitHub ↗

A FileNode is a node that reads a taskfile from the local filesystem.

Source from the content-addressed store, hash-verified

13
14// A FileNode is a node that reads a taskfile from the local filesystem.
15type FileNode struct {
16 *baseNode
17 entrypoint string
18}
19
20func NewFileNode(entrypoint, dir string, opts ...NodeOption) (*FileNode, error) {
21 // Find the entrypoint file

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected