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

Method contextModRef

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

Source from the content-addressed store, hash-verified

112}
113
114func (h *shellCallHandler) contextModRef(path string) (string, error) {
115 apath, err := h.contextAbsPath(path)
116 if err != nil {
117 return apath, err
118 }
119 h.mu.RLock()
120 defer h.mu.RUnlock()
121 return h.wd.Context.ModRef(apath), nil
122}
123
124func (h *shellCallHandler) contextArgRef(path string) (string, error) {
125 apath, err := h.contextAbsPath(path)

Callers 1

modRelPathMethod · 0.95

Calls 2

contextAbsPathMethod · 0.95
ModRefMethod · 0.65

Tested by

no test coverage detected