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

Method ModRef

cmd/dagger/shell_fs.go:137–137  ·  view source on GitHub ↗

ModRef returns an absolute reference that can be used with ModuleSource

(subpath string)

Source from the content-addressed store, hash-verified

135type moduleContext interface {
136 // ModRef returns an absolute reference that can be used with ModuleSource
137 ModRef(subpath string) string
138
139 // ArgRef returns an absolute reference that can be used with a Directory or File flag
140 ArgRef(subpath string) string

Callers 4

PwdMethod · 0.65
contextRootMethod · 0.65
contextModRefMethod · 0.65
parseModRefMethod · 0.65

Implementers 2

localSourceContextcmd/dagger/shell_fs.go
gitSourceContextcmd/dagger/shell_fs.go

Calls

no outgoing calls

Tested by

no test coverage detected