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

Method contextArgRef

cmd/dagger/shell_fs.go:124–132  ·  view source on GitHub ↗
(path string)

Source from the content-addressed store, hash-verified

122}
123
124func (h *shellCallHandler) contextArgRef(path string) (string, error) {
125 apath, err := h.contextAbsPath(path)
126 if err != nil {
127 return apath, err
128 }
129 h.mu.RLock()
130 defer h.mu.RUnlock()
131 return h.wd.Context.ArgRef(apath), nil
132}
133
134// moduleContext is an in-memory representation of a ModuleSource, used to produce paths quickly
135type moduleContext interface {

Callers 1

parseFlagValueMethod · 0.95

Calls 2

contextAbsPathMethod · 0.95
ArgRefMethod · 0.65

Tested by

no test coverage detected