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

Method ArgRef

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

ArgRef returns an absolute reference that can be used with a Directory or File flag

(subpath string)

Source from the content-addressed store, hash-verified

138
139 // ArgRef returns an absolute reference that can be used with a Directory or File flag
140 ArgRef(subpath string) string
141
142 // Subpath returns the subpath of the module, within the context root
143 Subpath() string

Callers 2

TestGitSourceArgRefFunction · 0.65
contextArgRefMethod · 0.65

Implementers 2

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

Calls

no outgoing calls

Tested by 1

TestGitSourceArgRefFunction · 0.52