MCPcopy Index your code
hub / github.com/dagger/dagger / Path

Method Path

core/modtree.go:40–48  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38}
39
40func (node *ModTreeNode) Path() ModTreePath {
41 if node.Parent == nil {
42 return nil
43 }
44 var path ModTreePath
45 path = append(path, node.Parent.Path()...)
46 path = append(path, node.Name)
47 return path
48}
49
50func NewModTree(ctx context.Context, mod dagql.ObjectResult[*Module]) (*ModTreeNode, error) {
51 main := mod.Self()

Callers 3

MatchMethod · 0.95
PathStringMethod · 0.95
moduleLocalPathStringMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected