MCPcopy Create free account
hub / github.com/dagger/dagger / NewModTreePath

Function NewModTreePath

core/modtree.go:724–726  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

722type ModTreePath []string
723
724func NewModTreePath(s string) ModTreePath {
725 return ModTreePath(strings.Split(s, ":"))
726}
727
728func (p ModTreePath) CliCase() []string {
729 cliCase := make([]string, len(p))

Callers 3

GlobMethod · 0.85
MatchMethod · 0.85

Calls 1

ModTreePathTypeAlias · 0.85

Tested by

no test coverage detected